equal
deleted
inserted
replaced
219 # write it |
219 # write it |
220 if opts['local']: |
220 if opts['local']: |
221 repo.opener("localsigs", "ab").write(sigmessage) |
221 repo.opener("localsigs", "ab").write(sigmessage) |
222 return |
222 return |
223 |
223 |
224 for x in repo.changes(): |
224 for x in repo.status()[:5]: |
225 if ".hgsigs" in x and not opts["force"]: |
225 if ".hgsigs" in x and not opts["force"]: |
226 raise util.Abort(_("working copy of .hgsigs is changed " |
226 raise util.Abort(_("working copy of .hgsigs is changed " |
227 "(please commit .hgsigs manually " |
227 "(please commit .hgsigs manually " |
228 "or use --force)")) |
228 "or use --force)")) |
229 |
229 |