##// END OF EJS Templates
Merge with stable
Patrick Mezard -
r12361:2754c827 merge default
parent child Browse files
Show More
@@ -844,7 +844,7 b' class workingctx(changectx):'
844 if self._repo.dirstate[f] != 'r':
844 if self._repo.dirstate[f] != 'r':
845 self._repo.ui.warn(_("%s not removed!\n") % f)
845 self._repo.ui.warn(_("%s not removed!\n") % f)
846 else:
846 else:
847 fctx = f in pctxs[0] and pctxs[0] or pctxs[1]
847 fctx = f in pctxs[0] and pctxs[0][f] or pctxs[1][f]
848 t = fctx.data()
848 t = fctx.data()
849 self._repo.wwrite(f, t, fctx.flags())
849 self._repo.wwrite(f, t, fctx.flags())
850 self._repo.dirstate.normal(f)
850 self._repo.dirstate.normal(f)
@@ -59,4 +59,25 b' Test patch being renamed before committe'
59
59
60 $ cd ..
60 $ cd ..
61
61
62 Test overlapping renames (issue2388)
62
63
64 $ hg init c
65 $ cd c
66 $ hg qinit -c
67 $ echo a > a
68 $ hg add
69 adding a
70 $ hg qnew patcha
71 $ echo b > b
72 $ hg add
73 adding b
74 $ hg qnew patchb
75 $ hg ci --mq -m c1
76 $ hg qrename patchb patchc
77 $ hg qrename patcha patchb
78 $ hg st --mq
79 M patchb
80 M series
81 A patchc
82 R patcha
83 $ cd ..
General Comments 0
You need to be logged in to leave comments. Login now