##// END OF EJS Templates
merge: move forgets to the beginning of the action list...
Siddharth Agarwal -
r19987:ba648607 stable
parent child Browse files
Show More
@@ -384,7 +384,7 def manifestmerge(repo, wctx, p2, pa, br
384 return actions
384 return actions
385
385
386 def actionkey(a):
386 def actionkey(a):
387 return a[1] == "r" and -1 or 0, a
387 return a[1] in "rf" and -1 or 0, a
388
388
389 def getremove(repo, mctx, overwrite, args):
389 def getremove(repo, mctx, overwrite, args):
390 """apply usually-non-interactive updates to the working directory
390 """apply usually-non-interactive updates to the working directory
@@ -136,5 +136,23 Issue683: peculiarity with hg revert of
136 M a
136 M a
137 A c
137 A c
138 ? a.orig
138 ? a.orig
139 $ hg up -C
140 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
141
142 forget and get should have the right order: added but missing dir should be
143 forgotten before file with same name is added
144
145 $ echo file d > d
146 $ hg add d
147 $ hg ci -md
148 $ hg rm d
149 $ mkdir d
150 $ echo a > d/a
151 $ hg add d/a
152 $ rm -r d
153 $ hg up -C
154 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
155 $ cat d
156 file d
139
157
140 $ cd ..
158 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now