equal
deleted
inserted
replaced
279 msigs = match.exact(repo.root, '', ['.hgsigs']) |
279 msigs = match.exact(repo.root, '', ['.hgsigs']) |
280 if any(repo.status(match=msigs, unknown=True, ignored=True)): |
280 if any(repo.status(match=msigs, unknown=True, ignored=True)): |
281 raise error.Abort(_("working copy of .hgsigs is changed "), |
281 raise error.Abort(_("working copy of .hgsigs is changed "), |
282 hint=_("please commit .hgsigs manually")) |
282 hint=_("please commit .hgsigs manually")) |
283 |
283 |
284 sigsfile = repo.wfile(".hgsigs", "ab") |
284 sigsfile = repo.wvfs(".hgsigs", "ab") |
285 sigsfile.write(sigmessage) |
285 sigsfile.write(sigmessage) |
286 sigsfile.close() |
286 sigsfile.close() |
287 |
287 |
288 if '.hgsigs' not in repo.dirstate: |
288 if '.hgsigs' not in repo.dirstate: |
289 repo[None].add([".hgsigs"]) |
289 repo[None].add([".hgsigs"]) |