##// END OF EJS Templates
tests: show that `hg cp -A --at-rev .` doesn't work for renames...
Martin von Zweigbergk -
r45313:5c49a4fd default
parent child Browse files
Show More
@@ -38,10 +38,28 b' Test single file'
38 A d1/d
38 A d1/d
39 d1/b
39 d1/b
40
40
41 Test moved file (not copied)
42
43 $ hg co 0
44 0 files updated, 0 files merged, 2 files removed, 0 files unresolved
45 $ mv d1/b d1/d
46 $ hg rm -A d1/b
47 $ hg add d1/d
48 $ hg ci -m 'move d1/b to d1/d'
49 created new head
50 BROKEN: this should work
51 $ hg cp -A --at-rev . d1/b d1/d
52 d1/b: no such file in rev 519850c3ea27
53 abort: --at-rev requires a single source
54 [255]
55 $ hg st -C --change .
56 A d1/d
57 R d1/b
58
41 Test using directory as destination
59 Test using directory as destination
42
60
43 $ hg co 0
61 $ hg co 0
44 0 files updated, 0 files merged, 2 files removed, 0 files unresolved
62 1 files updated, 0 files merged, 1 files removed, 0 files unresolved
45 $ cp -R d1 d3
63 $ cp -R d1 d3
46 $ hg add d3
64 $ hg add d3
47 adding d3/a
65 adding d3/a
General Comments 0
You need to be logged in to leave comments. Login now