merge: don't forget to update the dirstate for exec bit changes
authorMatt Mackall <mpm@selenic.com>
Thu, 26 Jul 2007 11:19:53 -0500
changeset 4997 60c54154ec4c
parent 4966 8d982aef0be1
child 4999 54ff1bb4b53a
child 5029 ac97e065cfc7
merge: don't forget to update the dirstate for exec bit changes
mercurial/merge.py
--- a/mercurial/merge.py	Sat Jul 21 19:07:18 2007 -0700
+++ b/mercurial/merge.py	Thu Jul 26 11:19:53 2007 -0500
@@ -452,7 +452,7 @@
                 repo.dirstate.forget([f])
         elif m == "f": # forget
             repo.dirstate.forget([f])
-        elif m == "g": # get
+        elif m in "ge": # get or exec change
             if branchmerge:
                 repo.dirstate.update([f], 'n', st_mtime=-1)
             else: