equal
deleted
inserted
replaced
24 expr $svnpath : "\/" > /dev/null |
24 expr $svnpath : "\/" > /dev/null |
25 if [ $? -ne 0 ]; then |
25 if [ $? -ne 0 ]; then |
26 svnpath='/'$svnpath |
26 svnpath='/'$svnpath |
27 fi |
27 fi |
28 |
28 |
29 svnurl=file://$svnpath/svn-repo/trunk |
29 svnurl=file://$svnpath/svn-repo/trunk/test |
30 svn import -m init t $svnurl | fix_path |
30 svn import -m init t $svnurl | fix_path |
31 |
31 |
32 echo % update svn repository |
32 echo % update svn repository |
33 svn co $svnurl t2 | fix_path |
33 svn co $svnurl t2 | fix_path |
34 cd t2 |
34 cd t2 |
58 echo 'hgext.graphlog =' >> $HGRCPATH |
58 echo 'hgext.graphlog =' >> $HGRCPATH |
59 hg glog -R fmap --template '#rev# #desc|firstline# files: #files#\n' |
59 hg glog -R fmap --template '#rev# #desc|firstline# files: #files#\n' |
60 |
60 |
61 echo % test stop revision |
61 echo % test stop revision |
62 hg convert --rev 1 $svnurl stoprev |
62 hg convert --rev 1 $svnurl stoprev |
|
63 # Check convert_revision extra-records. |
|
64 # This is also the only place testing more than one extra field |
|
65 # in a revision. |
|
66 hg --cwd stoprev tip --debug | grep extra | sed 's/=.*/=/' |
63 |
67 |
64 ######################################## |
68 ######################################## |
65 |
69 |
66 echo "# now tests that it works with trunk/branches/tags layout" |
70 echo "# now tests that it works with trunk/branches/tags layout" |
67 echo |
71 echo |