view tests/test-fastimport-cvs2git-fixup.out @ 47:7ff36dc9f0b1

Massive rework to use infrastructure provided by convert extension. fastimport no longer stages changes in the repository's working copy; instead, it now works like any other convert source: the imported history is kept in memory (except for file contents) and then processed by the 'convert' extension.
author Greg Ward <greg-hg@gerg.ca>
date Sat, 16 May 2009 12:57:22 -0400
parents 783890f8a6fb
children
line wrap: on
line source

----------------------------------------
% import git-dump-1.dat
scanning source...
sorting...
converting...
3 added Makefile
2 create branch 'REL-2-2-3' (manufactured commit)
1 create tag 'REL-2-2-3-P1' (manufactured commit)
0 added iostream.h
updating tags
Removing blob dir 'HGTMP/test-fastimport-cvs2git-fixup/realcvs.1/.hg/blobs' ...
% hg glog (git-dump-1.dat)
o  rev:    4
|  author: convert-repo
|  branch: ''  tags:   tip
|  files:  .hgtags
|  desc:   update tags
|
o  rev:    3
|  author: Other <other@example.com>
|  branch: ''  tags:
|  files:  main.cpp
|  desc:   added iostream.h
|
| o  rev:    2
| |  author: cvs2git
| |  branch: 'REL-2-2-3'  tags:   REL-2-2-3-P1
| |  files:  Tools/Debug/C++/DebugCpp.doxygen
| |  desc:   create tag 'REL-2-2-3-P1' (manufactured commit)
| |
| o  rev:    1
|/   author: cvs2git
|    branch: 'REL-2-2-3'  tags:
|    files:
|    desc:   create branch 'REL-2-2-3' (manufactured commit)
|
o  rev:    0
   author: Example <example>
   branch: ''  tags:
   files:  Makefile
   desc:   added Makefile

% hg branches (git-dump-1.dat)
REL-2-2-3                      2:b4709b6ae328
% hg heads -v (git-dump-1.dat)
rev:    4
author: convert-repo
branch: ''  tags:   tip
files:  .hgtags
desc:   update tags

rev:    2
author: cvs2git
branch: 'REL-2-2-3'  tags:   REL-2-2-3-P1
files:  Tools/Debug/C++/DebugCpp.doxygen
desc:   create tag 'REL-2-2-3-P1' (manufactured commit)

% hg tags -v (git-dump-1.dat)
REL-2-2-3-P1                       2:b4709b6ae328
----------------------------------------
% import git-dump-2.dat
scanning source...
sorting...
converting...
3 added Makefile
2 create branch 'REL-2-2-3' (manufactured commit)
1 create tag 'REL-2-2-3-P1' (manufactured commit)
0 added iostream.h
updating tags
Removing blob dir 'HGTMP/test-fastimport-cvs2git-fixup/realcvs.2/.hg/blobs' ...
% hg glog (git-dump-2.dat)
o  rev:    4
|  author: convert-repo
|  branch: ''  tags:   tip
|  files:  .hgtags
|  desc:   update tags
|
o  rev:    3
|  author: Other <other@example.com>
|  branch: ''  tags:
|  files:  main.cpp
|  desc:   added iostream.h
|
| o  rev:    2
| |  author: cvs2git
| |  branch: 'REL-2-2-3'  tags:   REL-2-2-3-P1
| |  files:  Tools/Debug/C++/DebugCpp.doxygen
| |  desc:   create tag 'REL-2-2-3-P1' (manufactured commit)
| |
| o  rev:    1
|/   author: cvs2git
|    branch: 'REL-2-2-3'  tags:
|    files:
|    desc:   create branch 'REL-2-2-3' (manufactured commit)
|
o  rev:    0
   author: Example <example>
   branch: ''  tags:
   files:  Makefile
   desc:   added Makefile

% hg branches (git-dump-2.dat)
REL-2-2-3                      2:b4709b6ae328
% hg heads -v (git-dump-2.dat)
rev:    4
author: convert-repo
branch: ''  tags:   tip
files:  .hgtags
desc:   update tags

rev:    2
author: cvs2git
branch: 'REL-2-2-3'  tags:   REL-2-2-3-P1
files:  Tools/Debug/C++/DebugCpp.doxygen
desc:   create tag 'REL-2-2-3-P1' (manufactured commit)

% hg tags -v (git-dump-2.dat)
REL-2-2-3-P1                       2:b4709b6ae328