##// END OF EJS Templates
Dummy-merge with c655432c2c24 (issue1860)
Dummy-merge with c655432c2c24 (issue1860)

File last commit:

r9543:56a5f805 default
r9601:11ace572 merge default
Show More
test-convert-cvs-synthetic.out
136 lines | 2.9 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
Greg Ward
issue1577: fix broken test by assuming less about CVS output....
r8081 cvs -f -d *REPO* init
cvs -f -q co proj
Greg Ward
cvsps: recognize and eliminate CVS' synthetic "file added" revisions.
r7862 % create file1 on the trunk
Greg Ward
issue1577: fix broken test by assuming less about CVS output....
r8081 cvs -f -Q add file1
cvs -f ci -madd file1 on trunk file1
Greg Ward
cvsps: recognize and eliminate CVS' synthetic "file added" revisions.
r7862 % create two branches
Greg Ward
issue1577: fix broken test by assuming less about CVS output....
r8081 cvs -f -q tag -b v1_0
Greg Ward
cvsps: recognize and eliminate CVS' synthetic "file added" revisions.
r7862 T file1
Greg Ward
issue1577: fix broken test by assuming less about CVS output....
r8081 cvs -f -q tag -b v1_1
Greg Ward
cvsps: recognize and eliminate CVS' synthetic "file added" revisions.
r7862 T file1
% create file2 on branch v1_0
Greg Ward
Reproduce crash where synthetic revs break merge detection (issue1578)....
r8249 cvs -f -Q up -rv1_0
Greg Ward
issue1577: fix broken test by assuming less about CVS output....
r8081 cvs -f -Q add file2
Greg Ward
Reproduce crash where synthetic revs break merge detection (issue1578)....
r8249 cvs -f ci -madd file2 file2
Greg Ward
cvsps: recognize and eliminate CVS' synthetic "file added" revisions.
r7862 % create file3, file4 on branch v1_1
Greg Ward
issue1577: fix broken test by assuming less about CVS output....
r8081 cvs -f -Q up -rv1_1
cvs -f -Q add file3 file4
cvs -f ci -madd file3, file4 on branch v1_1 file3 file4
Greg Ward
cvsps: recognize and eliminate CVS' synthetic "file added" revisions.
r7862 % merge file2 from v1_0 to v1_1
Greg Ward
Reproduce crash where synthetic revs break merge detection (issue1578)....
r8249 cvs -f -Q up -jv1_0
cvs -f ci -mMERGE from v1_0: add file2
% create branch v1_2
cvs -f -Q up -A
cvs -f -q tag -b v1_2
T file1
% create file5 on branch v1_2
cvs -f -Q up -rv1_2
cvs -f ci -madd file5 on v1_2
% create file6 on trunk post-v1_2
cvs -f -Q up -A
cvs -f -Q add file6
cvs -f ci -madd file6 on trunk post-v1_2
% merge file5 from v1_2 to trunk
cvs -f -Q up -A
cvs -f -Q up -jv1_2 file5
cvs -f ci -mMERGE from v1_2: add file5
% merge file6 from trunk to v1_2
cvs -f -Q up -rv1_2
cvs -f up -jHEAD file6
U file6
cvs -f ci -mMERGE from HEAD: add file6
Greg Ward
issue1577: fix broken test by assuming less about CVS output....
r8081 % cvs rlog output
RCS file: *REPO*/proj/file1,v
revision 1.1
RCS file: *REPO*/proj/Attic/file2,v
revision 1.1
revision 1.1.4.2
revision 1.1.4.1
revision 1.1.2.1
RCS file: *REPO*/proj/Attic/file3,v
revision 1.1
revision 1.1.2.1
RCS file: *REPO*/proj/Attic/file4,v
revision 1.1
revision 1.1.2.1
Greg Ward
Reproduce crash where synthetic revs break merge detection (issue1578)....
r8249 RCS file: *REPO*/proj/file5,v
revision 1.2
revision 1.1
revision 1.1.2.1
RCS file: *REPO*/proj/file6,v
revision 1.1
revision 1.1.2.2
revision 1.1.2.1
% convert to hg (#1)
Greg Ward
cvsps: recognize and eliminate CVS' synthetic "file added" revisions.
r7862 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
Greg Ward
Reproduce crash where synthetic revs break merge detection (issue1578)....
r8249 15 log entries
Greg Ward
cvsps: recognize and eliminate CVS' synthetic "file added" revisions.
r7862 creating changesets
Greg Ward
Reproduce crash where synthetic revs break merge detection (issue1578)....
r8249 8 changeset entries
Greg Ward
cvsps: recognize and eliminate CVS' synthetic "file added" revisions.
r7862 sorting...
converting...
Greg Ward
Reproduce crash where synthetic revs break merge detection (issue1578)....
r8249 7 add file1 on trunk
6 add file2
5 add file3, file4 on branch v1_1
4 MERGE from v1_0: add file2
3 add file5 on v1_2
2 add file6 on trunk post-v1_2
1 MERGE from v1_2: add file5
0 MERGE from HEAD: add file6
% hg glog output (#1)
o 7 MERGE from HEAD: add file6
|
| o 6 MERGE from v1_2: add file5
| |
| o 5 add file6 on trunk post-v1_2
| |
o | 4 add file5 on v1_2
|/
| o 3 MERGE from v1_0: add file2
| |
| o 2 add file3, file4 on branch v1_1
|/
| o 1 add file2
|/
o 0 add file1 on trunk
% convert to hg (#2: with merge detection)
initializing destination proj.hg2 repository
connecting to *REPO*
scanning source...
using builtin cvsps
collecting CVS rlog
15 log entries
creating changesets
8 changeset entries
sorting...
converting...
7 add file1 on trunk
6 add file2
5 add file3, file4 on branch v1_1
4 MERGE from v1_0: add file2
3 add file5 on v1_2
2 add file6 on trunk post-v1_2
1 MERGE from v1_2: add file5
0 MERGE from HEAD: add file6
% hg glog output (#2)
o 7 MERGE from HEAD: add file6
|\
| o 6 MERGE from v1_2: add file5
| |
| o 5 add file6 on trunk post-v1_2
| |
o | 4 add file5 on v1_2
|/
| o 3 MERGE from v1_0: add file2
| |\
+---o 2 add file3, file4 on branch v1_1
| |
| o 1 add file2
|/
o 0 add file1 on trunk