From cf21db0d8b5f966f0f1f1508bbb83e28f3134284 Mon Sep 17 00:00:00 2001 From: Mike Crute Date: Thu, 6 May 2010 15:00:39 -0400 Subject: Storing ssh signatures in a different file> --- hgsshsign/__init__.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/hgsshsign/__init__.py b/hgsshsign/__init__.py index bd612df..0c62b1a 100644 --- a/hgsshsign/__init__.py +++ b/hgsshsign/__init__.py @@ -130,17 +130,17 @@ def sign(ui, repo, *revs, **opts): repo.opener("localsigs", "ab").write(sigmessage) return - msigs = match.exact(repo.root, '', ['.hgsigs']) + msigs = match.exact(repo.root, '', ['.hgsshsigs']) 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 " - "(please commit .hgsigs manually " + raise util.Abort(_("working copy of .hgsshsigs is changed " + "(please commit .hgsshsigs manually " "or use --force)")) - repo.wfile(".hgsigs", "ab").write(sigmessage) + repo.wfile(".hgsshsigs", "ab").write(sigmessage) - if '.hgsigs' not in repo.dirstate: - repo.add([".hgsigs"]) + if '.hgsshsigs' not in repo.dirstate: + repo.add([".hgsshsigs"]) if opts["no_commit"]: return -- cgit v1.2.3