Show More
@@ -11,7 +11,7 b'' | |||||
11 |
|
11 | |||
12 | Test single file |
|
12 | Test single file | |
13 |
|
13 | |||
14 | # One recoded copy, one copy to record after commit |
|
14 | # One recorded copy, one copy to record after commit | |
15 | $ hg cp d1/b d1/c |
|
15 | $ hg cp d1/b d1/c | |
16 | $ cp d1/b d1/d |
|
16 | $ cp d1/b d1/d | |
17 | $ hg add d1/d |
|
17 | $ hg add d1/d | |
@@ -24,6 +24,12 b' Test single file' | |||||
24 | $ hg cp --at-rev . d1/b d1/d |
|
24 | $ hg cp --at-rev . d1/b d1/d | |
25 | abort: --at-rev requires --after |
|
25 | abort: --at-rev requires --after | |
26 | [255] |
|
26 | [255] | |
|
27 | # Errors out with non-existent source | |||
|
28 | BROKEN: this should have a better error message | |||
|
29 | $ hg cp -A --at-rev . d1/non-existent d1/d | |||
|
30 | d1/non-existent: no such file in rev 55d1fd85ef0a | |||
|
31 | abort: --at-rev requires a single source | |||
|
32 | [255] | |||
27 | # Errors out with non-existent destination |
|
33 | # Errors out with non-existent destination | |
28 | $ hg cp -A --at-rev . d1/b d1/non-existent |
|
34 | $ hg cp -A --at-rev . d1/b d1/non-existent | |
29 | abort: d1/non-existent: copy destination does not exist in 8a9d70fa20c9 |
|
35 | abort: d1/non-existent: copy destination does not exist in 8a9d70fa20c9 |
General Comments 0
You need to be logged in to leave comments.
Login now