hgext/gpg.py
changeset 41687 0531dff73d0b
parent 40293 c303d65d2e34
child 42264 ade02721d3fa
equal deleted inserted replaced
41686:ddbebce94665 41687:0531dff73d0b
   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")