hgext/gpg.py
changeset 6876 077f1e637cd8
parent 6760 4faaa0535ea7
child 8210 344751cd8cb8
equal deleted inserted replaced
6875:0d714a48ab53 6876:077f1e637cd8
   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