equal
deleted
inserted
replaced
295 if opts['local']: |
295 if opts['local']: |
296 repo.vfs.append("localsigs", sigmessage) |
296 repo.vfs.append("localsigs", sigmessage) |
297 return |
297 return |
298 |
298 |
299 if not opts["force"]: |
299 if not opts["force"]: |
300 msigs = match.exact(repo.root, '', ['.hgsigs']) |
300 msigs = match.exact(['.hgsigs']) |
301 if any(repo.status(match=msigs, unknown=True, ignored=True)): |
301 if any(repo.status(match=msigs, unknown=True, ignored=True)): |
302 raise error.Abort(_("working copy of .hgsigs is changed "), |
302 raise error.Abort(_("working copy of .hgsigs is changed "), |
303 hint=_("please commit .hgsigs manually")) |
303 hint=_("please commit .hgsigs manually")) |
304 |
304 |
305 sigsfile = repo.wvfs(".hgsigs", "ab") |
305 sigsfile = repo.wvfs(".hgsigs", "ab") |