Mercurial > hg > mercurial-crew-with-dirclash
view 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 source
%% should show b unknown ? b %% should show b unknown and c modified M c ? b %% should show b added and c modified M c A b %% should show a removed, b added and c modified M c A b R a %% should show b added, copy saved, and c modified M c A b saving current version of b as b.bak %% should show b unknown, b.bak unknown, and c modified M c ? b ? b.bak %% should show unknown: b b.bak ? b ? 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