changeset 2874 | 3d6efcbbd1c9 |
parent 2231 | 9a2f4b2e7cf1 |
child 3893 | 6b4127c7d52a |
child 3915 | b1806b211910 |
--- a/hgext/gpg.py +++ b/hgext/gpg.py @@ -221,7 +221,7 @@ def sign(ui, repo, *revs, **opts): repo.opener("localsigs", "ab").write(sigmessage) return - for x in repo.changes(): + for x in repo.status()[:5]: if ".hgsigs" in x and not opts["force"]: raise util.Abort(_("working copy of .hgsigs is changed " "(please commit .hgsigs manually "