Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/test-rename.out @ 1976:df8416346bb7
Enable path validation for copy, rename, debugwalk and other canonpath users.
This fixed the last bit of issue134.
Added some tests to test-rename and test-walk.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sun, 19 Mar 2006 14:53:58 +0100 |
parents | 64df4220b349 |
children | b2ae81a7df29 |
comparison
equal
deleted
inserted
replaced
1975:6e1a8ea5d717 | 1976:df8416346bb7 |
---|---|
252 # transitive rename --after | 252 # transitive rename --after |
253 A d1/bc | 253 A d1/bc |
254 R d1/b | 254 R d1/b |
255 # idempotent renames (d1/b -> d1/bb followed by d1/bb -> d1/b) | 255 # idempotent renames (d1/b -> d1/bb followed by d1/bb -> d1/b) |
256 M d1/b | 256 M d1/b |
257 # check illegal path components | |
258 abort: path contains illegal component: .hg/foo | |
259 | |
260 abort: ../foo not under root | |
261 abort: path contains illegal component: .hg/foo | |
262 | |
263 ! d1/d11/a1 | |
264 abort: path contains illegal component: .hg/a1 | |
265 | |
266 abort: ../a1 not under root | |
267 abort: path contains illegal component: .hg/a1 | |
268 | |
269 ! d1/d11/a1 | |
270 abort: path contains illegal component: .hg/foo | |
271 | |
272 abort: ../../../foo not under root |