Mercurial > hg
comparison tests/test-convert-cvs @ 5919:badf5711bd86
Test for converting a CVS branch
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 22 Jan 2008 00:08:43 +0100 |
parents | 6874368120dc |
children | 549a7ebe1607 |
comparison
equal
deleted
inserted
replaced
5918:1716c8a0bd09 | 5919:badf5711bd86 |
---|---|
63 echo % convert again with --filemap | 63 echo % convert again with --filemap |
64 hg convert --filemap filemap src src-filemap | sed -e 's/connecting to.*cvsrepo/connecting to cvsrepo/g' | 64 hg convert --filemap filemap src src-filemap | sed -e 's/connecting to.*cvsrepo/connecting to cvsrepo/g' |
65 cat src-hg/b/c | 65 cat src-hg/b/c |
66 hg -R src-filemap log --template '#rev# #desc# files: #files#\n' | 66 hg -R src-filemap log --template '#rev# #desc# files: #files#\n' |
67 | 67 |
68 echo % commit branch | |
69 cd src | |
70 cvs -q update -r1.1 b/c | |
71 cvs -q tag -b branch | |
72 cvs -q update -r branch | |
73 echo d >> b/c | |
74 cvs -q commit -mci2 . | grep '<--' |\ | |
75 sed -e 's:.*src/\(.*\),v.*:checking in src/\1,v:g' | |
76 cd .. | |
77 | |
78 echo % convert again | |
79 hg convert src src-hg | sed -e 's/connecting to.*cvsrepo/connecting to cvsrepo/g' | |
80 cat src-hg/a | |
81 cat src-hg/b/c | |
82 | |
83 echo % convert again with --filemap | |
84 hg convert --filemap filemap src src-filemap | sed -e 's/connecting to.*cvsrepo/connecting to cvsrepo/g' | |
85 cat src-hg/b/c | |
86 hg -R src-filemap log --template '#rev# #desc# files: #files#\n' | |
87 | |
88 echo "graphlog = " >> $HGRCPATH | |
89 hg -R src-hg glog --template '#rev# (#branches#) #desc# files: #files#\n' |