hgext/gpg.py
changeset 1618 ff339dd21976
parent 1592 347c44611348
child 1676 0690d0f202e1
--- a/hgext/gpg.py
+++ b/hgext/gpg.py
@@ -160,8 +160,7 @@ def sign(ui, repo, *revs, **opts):
         repo.opener("localsigs", "ab").write(sigmessage)
         return
 
-    (c, a, d, u) = repo.changes()
-    for x in (c, a, d, u):
+    for x in repo.changes():
         if ".hgsigs" in x and not opts["force"]:
             raise util.Abort("working copy of .hgsigs is changed "
                              "(please commit .hgsigs manually"