comparison tests/test-copy2.out @ 4777:44e17f5029d0

Make hg add foo; hg mv foo bar work. - foo will be removed (the user has a copy of its contents in bar) - bar will not be marked as a copy (there was no committed version of foo). We print a warning telling that to the user. Fixes issue269.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Tue, 03 Jul 2007 03:06:40 -0300
parents 719c402258ee
children fc8b3e7cbf6b
comparison
equal deleted inserted replaced
4776:719c402258ee 4777:44e17f5029d0
1 # should fail - foo is not managed
2 foo: not copying - file is not managed
3 abort: no files to copy
4 ? foo
5 # dry-run; print a warning that this is not a real copy; foo is added
6 foo was marked for addition. bar will not be committed as a copy.
7 A foo
8 # should print a warning that this is not a real copy; bar is added
9 foo was marked for addition. bar will not be committed as a copy.
10 A bar
11 # should print a warning that this is not a real copy; foo is added
12 bar was marked for addition. foo will not be committed as a copy.
13 A foo
14 # dry-run; should show that foo is clean
15 C foo
1 # should show copy 16 # should show copy
2 A bar 17 A bar
3 foo 18 foo
4 # shouldn't show copy 19 # shouldn't show copy
5 # should match 20 # should match