equal
deleted
inserted
replaced
253 repo.vfs.append("localsigs", sigmessage) |
253 repo.vfs.append("localsigs", sigmessage) |
254 return |
254 return |
255 |
255 |
256 if not opts["force"]: |
256 if not opts["force"]: |
257 msigs = match.exact(repo.root, '', ['.hgsigs']) |
257 msigs = match.exact(repo.root, '', ['.hgsigs']) |
258 if util.any(repo.status(match=msigs, unknown=True, ignored=True)): |
258 if any(repo.status(match=msigs, unknown=True, ignored=True)): |
259 raise util.Abort(_("working copy of .hgsigs is changed "), |
259 raise util.Abort(_("working copy of .hgsigs is changed "), |
260 hint=_("please commit .hgsigs manually")) |
260 hint=_("please commit .hgsigs manually")) |
261 |
261 |
262 sigsfile = repo.wfile(".hgsigs", "ab") |
262 sigsfile = repo.wfile(".hgsigs", "ab") |
263 sigsfile.write(sigmessage) |
263 sigsfile.write(sigmessage) |