--- 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