Mercurial > public > mercurial-scm > hg
diff hgext/gpg.py @ 2875:3d6efcbbd1c9
remove localrepository.changes.
use localrepository.status instead.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Sat, 12 Aug 2006 16:40:12 -0700 |
parents | 9a2f4b2e7cf1 |
children | 6b4127c7d52a b1806b211910 |
line wrap: on
line diff
--- a/hgext/gpg.py Sat Aug 12 16:13:27 2006 -0700 +++ b/hgext/gpg.py Sat Aug 12 16:40:12 2006 -0700 @@ -221,7 +221,7 @@ 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 "