Mercurial > hg > hg-fastimport
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 41:a1ccf1817b65 | 42:71f1e5ed6213 |
|---|---|
| 7 Done commit of rev 1 | 7 Done commit of rev 1 |
| 8 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | 8 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
| 9 Done commit of rev 2 | 9 Done commit of rev 2 |
| 10 0 files updated, 0 files merged, 0 files removed, 0 files unresolved | 10 0 files updated, 0 files merged, 0 files removed, 0 files unresolved |
| 11 Done commit of rev 3 | 11 Done commit of rev 3 |
| 12 updating tags | |
| 13 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |
| 12 Removing blob dir 'HGTMP/test-fastimport-cvs2git-fixup/realcvs/.hg/blobs' ... | 14 Removing blob dir 'HGTMP/test-fastimport-cvs2git-fixup/realcvs/.hg/blobs' ... |
| 13 % hg glog | 15 % hg glog |
| 14 @ changeset: 3:158529dd7d57 | 16 @ rev: 4 |
| 15 | tag: tip | 17 | author: convert-repo |
| 16 | parent: 0:8c270455072a | 18 | branch: '' tags: tip |
| 17 | user: Other <other@example.com> | 19 | files: .hgtags |
| 18 | date: Mon May 27 22:01:08 2002 +0000 | 20 | desc: update tags |
| 19 | files: main.cpp | |
| 20 | description: | |
| 21 | added iostream.h | |
| 22 | | 21 | |
| 22 o rev: 3 | |
| 23 | author: Other <other@example.com> | |
| 24 | branch: '' tags: | |
| 25 | files: main.cpp | |
| 26 | desc: added iostream.h | |
| 23 | | 27 | |
| 24 | o changeset: 2:9c706dffba0e | 28 | o rev: 2 |
| 25 | | branch: REL-2-2-3 | 29 | | author: cvs2git <cvs2git> |
| 26 | | user: cvs2git <cvs2git> | 30 | | branch: 'REL-2-2-3' tags: REL-2-2-3-P1 |
| 27 | | date: Mon May 27 21:04:55 2002 +0000 | 31 | | files: Tools/Debug/C++/DebugCpp.doxygen |
| 28 | | files: Tools/Debug/C++/DebugCpp.doxygen | 32 | | desc: create tag 'REL-2-2-3-P1' (manufactured commit) |
| 29 | | description: | |
| 30 | | create tag 'REL-2-2-3-P1' (manufactured commit) | |
| 31 | | | 33 | | |
| 32 | | | 34 | o rev: 1 |
| 33 | o changeset: 1:fd354e4cf420 | 35 |/ author: cvs2git <cvs2git> |
| 34 |/ branch: REL-2-2-3 | 36 | branch: 'REL-2-2-3' tags: |
| 35 | user: cvs2git <cvs2git> | 37 | files: |
| 36 | date: Mon May 27 21:04:54 2002 +0000 | 38 | desc: create branch 'REL-2-2-3' (manufactured commit) |
| 37 | description: | |
| 38 | create branch 'REL-2-2-3' (manufactured commit) | |
| 39 | | 39 | |
| 40 | | 40 o rev: 0 |
| 41 o changeset: 0:8c270455072a | 41 author: Example <example> |
| 42 user: Example <example> | 42 branch: '' tags: |
| 43 date: Wed Jun 06 02:06:20 2001 +0000 | 43 files: Makefile |
| 44 files: Makefile | 44 desc: added Makefile |
| 45 description: | |
| 46 added Makefile | |
| 47 | |
| 48 | 45 |
| 49 % hg branches | 46 % hg branches |
| 50 default 3:158529dd7d57 | |
| 51 REL-2-2-3 2:9c706dffba0e | 47 REL-2-2-3 2:9c706dffba0e |
| 52 % hg heads -v | 48 % hg heads -v |
| 53 changeset: 3:158529dd7d57 | 49 rev: 4 |
| 54 tag: tip | 50 author: convert-repo |
| 55 parent: 0:8c270455072a | 51 branch: '' tags: tip |
| 56 user: Other <other@example.com> | 52 files: .hgtags |
| 57 date: Mon May 27 22:01:08 2002 +0000 | 53 desc: update tags |
| 58 summary: added iostream.h | |
| 59 | 54 |
| 60 changeset: 2:9c706dffba0e | 55 rev: 2 |
| 61 branch: REL-2-2-3 | 56 author: cvs2git <cvs2git> |
| 62 user: cvs2git <cvs2git> | 57 branch: 'REL-2-2-3' tags: REL-2-2-3-P1 |
| 63 date: Mon May 27 21:04:55 2002 +0000 | 58 files: Tools/Debug/C++/DebugCpp.doxygen |
| 64 summary: create tag 'REL-2-2-3-P1' (manufactured commit) | 59 desc: create tag 'REL-2-2-3-P1' (manufactured commit) |
| 65 | 60 |
| 66 % hg tags -v | 61 % hg tags -v |
| 67 tip 3:158529dd7d57 | |
| 68 REL-2-2-3-P1 2:9c706dffba0e | 62 REL-2-2-3-P1 2:9c706dffba0e |
