Show More
@@ -257,6 +257,32 b' Test reporting of path conflicts' | |||||
257 |
|
257 | |||
258 | $ cd .. |
|
258 | $ cd .. | |
259 |
|
259 | |||
|
260 | Test path auditing (issue5818) | |||
|
261 | ||||
|
262 | $ mkdir lib_ | |||
|
263 | $ ln -s lib_ lib | |||
|
264 | $ hg init repo | |||
|
265 | $ cd repo | |||
|
266 | $ mkdir -p ".$TESTTMP/lib" | |||
|
267 | $ touch ".$TESTTMP/lib/a" | |||
|
268 | $ hg add ".$TESTTMP/lib/a" | |||
|
269 | $ hg ci -m 'a' | |||
|
270 | ||||
|
271 | $ touch ".$TESTTMP/lib/b" | |||
|
272 | $ hg add ".$TESTTMP/lib/b" | |||
|
273 | $ hg ci -m 'b' | |||
|
274 | ||||
|
275 | $ hg up -q '.^' | |||
|
276 | $ touch ".$TESTTMP/lib/c" | |||
|
277 | $ hg add ".$TESTTMP/lib/c" | |||
|
278 | $ hg ci -m 'c' | |||
|
279 | created new head | |||
|
280 | $ hg rebase -s 1 -d . | |||
|
281 | rebasing 1:* "b" (glob) | |||
|
282 | abort: path '*/lib/b' traverses symbolic link '*/lib' (glob) | |||
|
283 | [255] | |||
|
284 | $ cd .. | |||
|
285 | ||||
260 | Test dry-run rebasing |
|
286 | Test dry-run rebasing | |
261 |
|
287 | |||
262 | $ hg init repo3 |
|
288 | $ hg init repo3 |
General Comments 0
You need to be logged in to leave comments.
Login now