Mercurial > hg
comparison tests/test-revert.out @ 6109:242595e612ed
revert: unify forget and remove lists
This doesn't make a difference right now, but after the next revision
some files in state 'a' may end up in the deleted list, and revert
won't be able to just remove all files in that list.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Thu, 14 Feb 2008 18:08:16 -0200 |
parents | 41bb88cb913e |
children | 81e20e01d465 |
comparison
equal
deleted
inserted
replaced
6108:5086576a2152 | 6109:242595e612ed |
---|---|
16 %% should show b unknown, and c modified | 16 %% should show b unknown, and c modified |
17 M c | 17 M c |
18 ? b | 18 ? b |
19 %% should show unknown: b | 19 %% should show unknown: b |
20 ? b | 20 ? b |
21 %% should show a b c e | 21 %% should show b added |
22 A b | |
23 %% should show b added | |
24 A b | |
25 forgetting b | |
26 %% should not find b | |
27 b: No such file or directory | |
28 %% should show a c e | |
22 a | 29 a |
23 b | |
24 c | 30 c |
25 e | 31 e |
26 %% should verbosely save backup to e.orig | 32 %% should verbosely save backup to e.orig |
27 saving current version of e as e.orig | 33 saving current version of e as e.orig |
28 reverting e | 34 reverting e |
31 %% should say file not managed | 37 %% should say file not managed |
32 file not managed: q | 38 file not managed: q |
33 %% should say file not found | 39 %% should say file not found |
34 notfound: No such file in rev 095eacd0c0d7 | 40 notfound: No such file in rev 095eacd0c0d7 |
35 A z | 41 A z |
36 ? b | |
37 ? e.orig | 42 ? e.orig |
38 %% should add a, remove d, forget z | 43 %% should add a, remove d, forget z |
39 adding a | 44 adding a |
40 removing d | 45 removing d |
41 forgetting z | 46 forgetting z |