Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/test-rename @ 5329:7e6138cb8d38
copy: if destination ends with "/", make sure it's a directory
Fixes issue724.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Mon, 24 Sep 2007 19:00:11 -0300 |
parents | 438603c1eb6f |
children |
comparison
equal
deleted
inserted
replaced
5318:c6682cdada2f | 5329:7e6138cb8d38 |
---|---|
86 hg rename d1/* d2 | 86 hg rename d1/* d2 |
87 hg status -C | 87 hg status -C |
88 diff d1/b d2/b | 88 diff d1/b d2/b |
89 hg update -C | 89 hg update -C |
90 | 90 |
91 echo "# attempt to move one file into a non-existent directory" | |
92 hg rename d1/a dx/ | |
93 hg status -C | |
94 hg update -C | |
95 | |
91 echo "# attempt to move potentially more than one file into a non-existent" | 96 echo "# attempt to move potentially more than one file into a non-existent" |
92 echo "# directory" | 97 echo "# directory" |
93 hg rename 'glob:d1/**' dx | 98 hg rename 'glob:d1/**' dx |
94 | 99 |
95 echo "# move every file under d1 to d2/d21 (glob)" | 100 echo "# move every file under d1 to d2/d21 (glob)" |