hgext/gpg.py
changeset 11303 a1aad8333864
parent 11193 687c7d395f20
child 11321 40c06bbf58be
--- a/hgext/gpg.py	Thu Jun 03 23:18:18 2010 -0500
+++ b/hgext/gpg.py	Mon Jun 07 20:03:32 2010 +0200
@@ -247,7 +247,7 @@
     repo.wfile(".hgsigs", "ab").write(sigmessage)
 
     if '.hgsigs' not in repo.dirstate:
-        repo.add([".hgsigs"])
+        repo[None].add([".hgsigs"])
 
     if opts["no_commit"]:
         return