diff --git a/tests/test-convert-svn-source b/tests/test-convert-svn-source --- a/tests/test-convert-svn-source +++ b/tests/test-convert-svn-source @@ -26,7 +26,7 @@ if [ $? -ne 0 ]; then svnpath='/'$svnpath fi -svnurl=file://$svnpath/svn-repo/trunk +svnurl=file://$svnpath/svn-repo/trunk/test svn import -m init t $svnurl | fix_path echo % update svn repository @@ -60,6 +60,10 @@ hg glog -R fmap --template '#rev# #desc| echo % test stop revision hg convert --rev 1 $svnurl stoprev +# Check convert_revision extra-records. +# This is also the only place testing more than one extra field +# in a revision. +hg --cwd stoprev tip --debug | grep extra | sed 's/=.*/=/' ######################################## diff --git a/tests/test-convert-svn-source.out b/tests/test-convert-svn-source.out --- a/tests/test-convert-svn-source.out +++ b/tests/test-convert-svn-source.out @@ -11,8 +11,8 @@ Adding b Transmitting file data .. Committed revision 2. % convert to hg once -assuming destination trunk-hg -initializing destination trunk-hg repository +assuming destination test-hg +initializing destination test-hg repository scanning source... sorting... converting... @@ -24,7 +24,7 @@ Sending b Transmitting file data .. Committed revision 3. % test incremental conversion -assuming destination trunk-hg +assuming destination test-hg scanning source... sorting... converting... @@ -47,6 +47,8 @@ scanning source... sorting... converting... 0 init +extra: branch= +extra: convert_revision= # now tests that it works with trunk/branches/tags layout % initial svn import