##// END OF EJS Templates
cvsps: make debugging easier by adding __repr__() methods.
cvsps: make debugging easier by adding __repr__() methods.

File last commit:

r8048:d22432bd default
r8080:19229b0b default
Show More
test-convert-cvs-synthetic.out
54 lines | 1.6 KiB | text/plain | TextLexer
/ tests / test-convert-cvs-synthetic.out
Greg Ward
cvsps: recognize and eliminate CVS' synthetic "file added" revisions.
r7862 % create cvs repository with one project
cvs checkout: Updating proj
% create file1 on the trunk
cvs add: scheduling file `file1' for addition
Matt Mackall
Fix new CVS test output
r7865 cvs add: use `cvs commit' to add this file permanently
Greg Ward
cvsps: recognize and eliminate CVS' synthetic "file added" revisions.
r7862 *REPO*/proj/file1,v <-- file1
initial revision: 1.1
% create two branches
cvs tag: Tagging .
T file1
cvs tag: Tagging .
T file1
% create file2 on branch v1_0
cvs update: Updating .
cvs add: scheduling file `file2' for addition on branch `v1_0'
Matt Mackall
Fix new CVS test output
r7865 cvs add: use `cvs commit' to add this file permanently
Greg Ward
cvsps: recognize and eliminate CVS' synthetic "file added" revisions.
r7862 *REPO*/proj/Attic/file2,v <-- file2
new revision: 1.1.2.1; previous revision: 1.1
% create file3, file4 on branch v1_1
cvs update: Updating .
Matt Mackall
Fix new CVS test output
r7865 cvs update: `file2' is no longer in the repository
Greg Ward
cvsps: recognize and eliminate CVS' synthetic "file added" revisions.
r7862 cvs add: scheduling file `file3' for addition on branch `v1_1'
cvs add: scheduling file `file4' for addition on branch `v1_1'
Matt Mackall
Fix new CVS test output
r7865 cvs add: use `cvs commit' to add these files permanently
Greg Ward
cvsps: recognize and eliminate CVS' synthetic "file added" revisions.
r7862 *REPO*/proj/Attic/file3,v <-- file3
new revision: 1.1.2.1; previous revision: 1.1
*REPO*/proj/Attic/file4,v <-- file4
new revision: 1.1.2.1; previous revision: 1.1
% merge file2 from v1_0 to v1_1
cvs update: Updating .
U file2
cvs commit: Examining .
*REPO*/proj/Attic/file2,v <-- file2
new revision: 1.1.4.2; previous revision: 1.1.4.1
% convert to hg
initializing destination proj.hg repository
Patrick Mezard
convert/cvs: delay CVS log parsing after initialization (issue1581/2)...
r8048 connecting to *REPO*
scanning source...
Greg Ward
cvsps: recognize and eliminate CVS' synthetic "file added" revisions.
r7862 using builtin cvsps
collecting CVS rlog
9 log entries
creating changesets
4 changeset entries
sorting...
converting...
3 add file1 on trunk
2 add file2 on branch v1_0
1 add file3, file4 on branch v1_1
0 merge file2 from v1_0 to v1_1
% hg log output
3 merge file2 from v1_0 to v1_1
2 add file3, file4 on branch v1_1
1 add file2 on branch v1_0
0 add file1 on trunk