hgext/gpg.py
changeset 2875 3d6efcbbd1c9
parent 2231 9a2f4b2e7cf1
child 3891 6b4127c7d52a
child 3916 b1806b211910
equal deleted inserted replaced
2874:4ec58b157265 2875:3d6efcbbd1c9
   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