diff hgext/gpg.py @ 11303:a1aad8333864

move working dir/dirstate methods from localrepo to workingctx
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Mon, 07 Jun 2010 20:03:32 +0200
parents 687c7d395f20
children 40c06bbf58be
line wrap: on
line diff
--- 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