Mercurial > hg-stable
changeset 10532:e4a8ae4659d3
gpg: make 13448eab08ca work when not on repo root
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Tue, 23 Feb 2010 22:56:37 +0100 |
parents | 8ec48ab90f72 |
children | 989b2a5eaaba |
files | hgext/gpg.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/gpg.py Tue Feb 23 06:44:37 2010 +0100 +++ b/hgext/gpg.py Tue Feb 23 22:56:37 2010 +0100 @@ -6,7 +6,7 @@ '''commands to sign and verify changesets''' import os, tempfile, binascii -from mercurial import util, commands, match, cmdutil +from mercurial import util, commands, match from mercurial import node as hgnode from mercurial.i18n import _ @@ -237,7 +237,7 @@ repo.opener("localsigs", "ab").write(sigmessage) return - msigs = cmdutil.matchfiles(repo, ['.hgsigs']) + msigs = match.exact(repo.root, '', ['.hgsigs']) s = repo.status(match=msigs, unknown=True, ignored=True)[:6] if util.any(s) and not opts["force"]: raise util.Abort(_("working copy of .hgsigs is changed "