Mercurial > hg > mercurial-crew-with-dirclash
diff tests/test-revert.out @ 2029:d436b21b20dc
rewrite revert command. fix issues 93, 123, 147.
new version does these things:
- saves backup copies of modified files (issue 147)
- prints output like other commands, and errors when files not found
(issue 123)
- marks files added/removed (issue 93)
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Fri, 31 Mar 2006 10:37:25 -0800 |
parents | 2bc6cd62a29c |
children | 8d9ec30d58bc |
line wrap: on
line diff
--- a/tests/test-revert.out +++ b/tests/test-revert.out @@ -10,15 +10,29 @@ A b M c A b R a -%% should show b added and c modified +%% should show b added, copy saved, and c modified M c A b -%% should show b unknown and c modified +saving current version of b as b.bak +%% should show b unknown, b.bak unknown, and c modified M c ? b -%% should show b unknown +? b.bak +%% should show unknown: b b.bak ? b -%% should show a b and c +? b.bak +%% should show a b b.bak c e a b +b.bak c +e +%% should save backup to e.0 +saving current version of e as e.0 +reverting e +%% should say no changes needed +no changes needed to a +%% should say file not managed +file not managed: q +%% should say file not found +notfound: No such file or directory