Show More
@@ -179,6 +179,48 b' Test reporting of path conflicts' | |||
|
179 | 179 | rebasing 4:daf7dfc139cb "a/a" (tip) |
|
180 | 180 | saved backup bundle to $TESTTMP/repo1/repo2/.hg/strip-backup/daf7dfc139cb-fdbfcf4f-rebase.hg |
|
181 | 181 | |
|
182 | $ hg tglog | |
|
183 | @ 4: c6ad37a4f250 'a/a' | |
|
184 | | | |
|
185 | | o 3: 844a7de3e617 'c' | |
|
186 | | | | |
|
187 | o | 2: 09c044d2cb43 'd' | |
|
188 | | | | |
|
189 | o | 1: fc055c3b4d33 'b' | |
|
190 | |/ | |
|
191 | o 0: b173517d0057 'a' | |
|
192 | ||
|
193 | $ echo foo > foo | |
|
194 | $ hg ci -Aqm "added foo" | |
|
195 | $ hg up '.^' | |
|
196 | 0 files updated, 0 files merged, 1 files removed, 0 files unresolved | |
|
197 | $ echo bar > bar | |
|
198 | $ hg ci -Aqm "added bar" | |
|
199 | $ hg rm a/a | |
|
200 | $ echo a > a | |
|
201 | $ hg ci -Aqm "added a back!" | |
|
202 | $ hg tglog | |
|
203 | @ 7: 855e9797387e 'added a back!' | |
|
204 | | | |
|
205 | o 6: d14530e5e3e6 'added bar' | |
|
206 | | | |
|
207 | | o 5: 9b94b9373deb 'added foo' | |
|
208 | |/ | |
|
209 | o 4: c6ad37a4f250 'a/a' | |
|
210 | | | |
|
211 | | o 3: 844a7de3e617 'c' | |
|
212 | | | | |
|
213 | o | 2: 09c044d2cb43 'd' | |
|
214 | | | | |
|
215 | o | 1: fc055c3b4d33 'b' | |
|
216 | |/ | |
|
217 | o 0: b173517d0057 'a' | |
|
218 | ||
|
219 | $ hg rebase -r . -d 5 | |
|
220 | rebasing 7:855e9797387e "added a back!" (tip) | |
|
221 | abort: error: file 'a' cannot be written because 'a/' is a folder in 9b94b9373deb (containing 1 entries: a/a) | |
|
222 | [255] | |
|
223 | ||
|
182 | 224 | $ cd .. |
|
183 | 225 | |
|
184 | 226 | Test dry-run rebasing |
General Comments 0
You need to be logged in to leave comments.
Login now