hgext/gpg.py
branchstable
changeset 50822 181936ad069a
parent 50037 46883d91e2b0
child 50877 b3ac579bde41
--- a/hgext/gpg.py	Thu Aug 10 19:00:19 2023 +0100
+++ b/hgext/gpg.py	Sun Aug 20 16:32:18 2023 -0400
@@ -339,8 +339,9 @@
         repo.vfs.append(b"localsigs", sigmessage)
         return
 
+    msigs = match.exact([b'.hgsigs'])
+
     if not opts[b"force"]:
-        msigs = match.exact([b'.hgsigs'])
         if any(repo.status(match=msigs, unknown=True, ignored=True)):
             raise error.Abort(
                 _(b"working copy of .hgsigs is changed "),