2005-11-03 02:46:31 +03:00
|
|
|
%% should show b unknown
|
2005-10-26 02:51:28 +04:00
|
|
|
? b
|
2005-11-03 02:46:31 +03:00
|
|
|
%% should show b unknown and c modified
|
2005-10-26 02:51:28 +04:00
|
|
|
M c
|
|
|
|
? b
|
2005-11-03 02:46:31 +03:00
|
|
|
%% should show b added and c modified
|
2005-10-26 02:51:28 +04:00
|
|
|
M c
|
|
|
|
A b
|
2005-11-03 02:46:31 +03:00
|
|
|
%% should show a removed, b added and c modified
|
2005-10-26 02:51:28 +04:00
|
|
|
M c
|
|
|
|
A b
|
|
|
|
R a
|
2006-03-31 22:37:25 +04:00
|
|
|
%% should show b added, copy saved, and c modified
|
2005-10-26 02:51:28 +04:00
|
|
|
M c
|
|
|
|
A b
|
2006-04-03 23:01:33 +04:00
|
|
|
%% should show b unknown, and c modified
|
2005-10-26 02:51:28 +04:00
|
|
|
M c
|
|
|
|
? b
|
2006-04-03 23:01:33 +04:00
|
|
|
%% should show unknown: b
|
2005-10-26 02:51:28 +04:00
|
|
|
? b
|
2008-02-14 23:08:16 +03:00
|
|
|
%% should show b added
|
|
|
|
A b
|
2008-02-14 23:08:16 +03:00
|
|
|
%% should show b deleted
|
|
|
|
! b
|
2008-02-14 23:08:16 +03:00
|
|
|
forgetting b
|
|
|
|
%% should not find b
|
|
|
|
b: No such file or directory
|
|
|
|
%% should show a c e
|
2005-10-26 02:51:28 +04:00
|
|
|
a
|
|
|
|
c
|
2006-03-31 22:37:25 +04:00
|
|
|
e
|
2006-04-01 13:58:50 +04:00
|
|
|
%% should verbosely save backup to e.orig
|
|
|
|
saving current version of e as e.orig
|
2006-03-31 22:37:25 +04:00
|
|
|
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
|
2006-04-03 21:02:09 +04:00
|
|
|
notfound: No such file in rev 095eacd0c0d7
|
|
|
|
A z
|
|
|
|
? e.orig
|
2008-02-08 23:07:55 +03:00
|
|
|
%% should add a, remove d, forget z
|
2006-04-03 21:02:09 +04:00
|
|
|
adding a
|
2008-02-08 23:07:55 +03:00
|
|
|
removing d
|
2006-04-03 21:02:09 +04:00
|
|
|
forgetting z
|
2008-02-08 23:07:55 +03:00
|
|
|
%% should forget a, undelete d
|
2006-04-03 21:02:09 +04:00
|
|
|
forgetting a
|
2008-02-08 23:07:55 +03:00
|
|
|
undeleting d
|
2006-04-03 21:02:09 +04:00
|
|
|
%% should silently add a
|
|
|
|
A a
|
2008-02-08 23:07:55 +03:00
|
|
|
R d
|
|
|
|
%% should silently keep d removed
|
|
|
|
R d
|
|
|
|
1 files updated, 0 files merged, 1 files removed, 0 files unresolved
|
2006-04-30 07:39:28 +04:00
|
|
|
reverting c
|
|
|
|
%% should print non-executable
|
|
|
|
non-executable
|
|
|
|
reverting c
|
|
|
|
%% should print executable
|
|
|
|
executable
|
2006-05-12 09:10:47 +04:00
|
|
|
%% issue 241
|
|
|
|
adding a
|
|
|
|
1 files updated, 0 files merged, 0 files removed, 0 files unresolved
|
2006-08-21 20:44:52 +04:00
|
|
|
% should fail - no arguments
|
2006-08-29 21:02:57 +04:00
|
|
|
abort: no files or directories specified; use --all to revert the whole repo
|
2006-08-21 20:44:52 +04:00
|
|
|
% should succeed
|
2006-06-08 00:16:25 +04:00
|
|
|
reverting a
|
2006-08-28 23:49:02 +04:00
|
|
|
%% issue332
|
|
|
|
adding b/b
|
2008-03-21 13:06:02 +03:00
|
|
|
created new head
|
2006-08-28 23:49:02 +04:00
|
|
|
reverting b/b
|
2007-03-16 06:22:52 +03:00
|
|
|
forgetting newdir/newfile
|
2007-03-17 04:48:20 +03:00
|
|
|
reverting b/b
|
2007-08-30 03:15:23 +04:00
|
|
|
% reverting a rename target should revert the source
|
|
|
|
? newa
|
2008-02-08 23:07:55 +03:00
|
|
|
%% 4 ignored files (we will add/commit everything)
|
|
|
|
I ignored
|
2008-02-08 23:07:55 +03:00
|
|
|
I ignoreddir/file
|
|
|
|
I ignoreddir/removed
|
2008-02-08 23:07:55 +03:00
|
|
|
I removed
|
|
|
|
%% should revert ignored* and undelete *removed
|
|
|
|
reverting ignored
|
|
|
|
reverting ignoreddir/file
|
|
|
|
undeleting ignoreddir/removed
|
|
|
|
undeleting removed
|
|
|
|
%% should silently revert the named files
|