Mercurial > hg > hg-fastimport
view tests/test-fastimport-cvs2git-fixup.out @ 42:71f1e5ed6213
Convert "lightweight" tags, since that's how cvs2git handle CVS tags.
- add lightweight_tags attr to HgImportProcessor
- modify reset_handler() to detect and record lightweight tags
- add write_lightweight_tags() method to add them all in one commit
- update test-fastimport-cvs2git-fixup
| author | Greg Ward <greg-hg@gerg.ca> |
|---|---|
| date | Sun, 10 May 2009 12:00:23 -0400 |
| parents | 177a133519bc |
| children | 61ff7b929cea |
line wrap: on
line source
% import cvs2git with branch/tag Reading source: git-blob.dat Reading source: git-dump.dat 0 files updated, 0 files merged, 0 files removed, 0 files unresolved Done commit of rev 0 1 files updated, 0 files merged, 0 files removed, 0 files unresolved Done commit of rev 1 0 files updated, 0 files merged, 0 files removed, 0 files unresolved Done commit of rev 2 0 files updated, 0 files merged, 0 files removed, 0 files unresolved Done commit of rev 3 updating tags 1 files updated, 0 files merged, 0 files removed, 0 files unresolved Removing blob dir 'HGTMP/test-fastimport-cvs2git-fixup/realcvs/.hg/blobs' ... % hg glog @ 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 <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 <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 REL-2-2-3 2:9c706dffba0e % hg heads -v rev: 4 author: convert-repo branch: '' tags: tip files: .hgtags desc: update tags rev: 2 author: cvs2git <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 REL-2-2-3-P1 2:9c706dffba0e
