equal
deleted
inserted
replaced
237 # write it |
237 # write it |
238 if opts['local']: |
238 if opts['local']: |
239 repo.opener("localsigs", "ab").write(sigmessage) |
239 repo.opener("localsigs", "ab").write(sigmessage) |
240 return |
240 return |
241 |
241 |
242 for x in repo.status()[:5]: |
242 for x in repo.status(unknown=True)[:5]: |
243 if ".hgsigs" in x and not opts["force"]: |
243 if ".hgsigs" in x and not opts["force"]: |
244 raise util.Abort(_("working copy of .hgsigs is changed " |
244 raise util.Abort(_("working copy of .hgsigs is changed " |
245 "(please commit .hgsigs manually " |
245 "(please commit .hgsigs manually " |
246 "or use --force)")) |
246 "or use --force)")) |
247 |
247 |