tests/test-convert-svn-branches.out
author Edouard Gomez <ed.gomez@free.fr>
Sun, 04 Jan 2009 02:36:48 +0100
changeset 7583 77fec2d270ae
parent 7476 6644c111f9e9
child 8377 29f4f0d66cd5
permissions -rw-r--r--
convert/gnuarch: parse continuation-of revisions in gnuarch source In GNU Arch, continuation-of was often used for: - tagging revisions - continue working on a project in a new archive, because arch was scaling poorly in revision numbers (cat-logs were slow to be parsed and scanned through) - very similar to the previous point, fork his own branch of a project. Parsing this header information will allow to 'follow' new history because it often hints at older/forked/personal revision trees. This patch however just implements the parsing of the continuation-of header. A followup patch will implement the proper use of this new information.

% convert trunk and branches
initializing destination A-hg repository
scanning source...
sorting...
converting...
10 init projA
9 hello
8 branch trunk, remove c
7 change a
6 change b
5 move and update c
4 move and update c
3 change b again
2 move to old2
1 move back to old
0 last change to a
% convert again
scanning source...
sorting...
converting...
0 branch trunk@1 into old3
o  branch=old3 11 branch trunk@1 into old3 files:
|
| o  branch= 10 last change to a files: a
| |
| | o  branch=old 9 move back to old files:
| | |
| | o  branch=old2 8 move to old2 files:
| | |
| | o  branch=old 7 change b again files: b
| | |
| o |  branch= 6 move and update c files: b
| | |
| | o  branch=old 5 move and update c files: c
| | |
| | o  branch=old 4 change b files: b
| | |
| o |  branch= 3 change a files: a
| | |
+---o  branch=old 2 branch trunk, remove c files: a b
| |
| o  branch= 1 hello files: a b c
|/
o  branch= 0 init projA files:

old3                          11:
default                       10:
old                            9:
old2                           8:
tip