equal
deleted
inserted
replaced
40 $ hg st -C --change . |
40 $ hg st -C --change . |
41 A d1/c |
41 A d1/c |
42 d1/b |
42 d1/b |
43 A d1/d |
43 A d1/d |
44 d1/b |
44 d1/b |
|
45 # Should get helpful message if we try to copy or rename after commit |
|
46 $ hg cp --forget --at-rev . d1/d |
|
47 saved backup bundle to $TESTTMP/.hg/strip-backup/3f7c325d3f9e-46f377bb-uncopy.hg |
|
48 $ hg cp d1/b d1/d |
|
49 d1/d: not overwriting - file already committed |
|
50 ('hg copy --at-rev .' to record the copy in the parent of the working copy) |
|
51 [1] |
|
52 $ hg mv d1/b d1/d |
|
53 d1/d: not overwriting - file already committed |
|
54 ('hg rename --at-rev .' to record the rename in the parent of the working copy) |
|
55 [1] |
45 |
56 |
46 Test moved file (not copied) using 'hg cp' command |
57 Test moved file (not copied) using 'hg cp' command |
47 |
58 |
48 $ hg co 0 |
59 $ hg co 0 |
49 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |
60 0 files updated, 0 files merged, 2 files removed, 0 files unresolved |