diff options
-rw-r--r-- | hgsshsign/__init__.py | 12 |
1 files 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): | |||
130 | repo.opener("localsigs", "ab").write(sigmessage) | 130 | repo.opener("localsigs", "ab").write(sigmessage) |
131 | return | 131 | return |
132 | 132 | ||
133 | msigs = match.exact(repo.root, '', ['.hgsigs']) | 133 | msigs = match.exact(repo.root, '', ['.hgsshsigs']) |
134 | s = repo.status(match=msigs, unknown=True, ignored=True)[:6] | 134 | s = repo.status(match=msigs, unknown=True, ignored=True)[:6] |
135 | if util.any(s) and not opts["force"]: | 135 | if util.any(s) and not opts["force"]: |
136 | raise util.Abort(_("working copy of .hgsigs is changed " | 136 | raise util.Abort(_("working copy of .hgsshsigs is changed " |
137 | "(please commit .hgsigs manually " | 137 | "(please commit .hgsshsigs manually " |
138 | "or use --force)")) | 138 | "or use --force)")) |
139 | 139 | ||
140 | repo.wfile(".hgsigs", "ab").write(sigmessage) | 140 | repo.wfile(".hgsshsigs", "ab").write(sigmessage) |
141 | 141 | ||
142 | if '.hgsigs' not in repo.dirstate: | 142 | if '.hgsshsigs' not in repo.dirstate: |
143 | repo.add([".hgsigs"]) | 143 | repo.add([".hgsshsigs"]) |
144 | 144 | ||
145 | if opts["no_commit"]: | 145 | if opts["no_commit"]: |
146 | return | 146 | return |