--- a/tests/test-convert-svn-source Fri Jan 04 23:43:49 2008 +0100
+++ b/tests/test-convert-svn-source Fri Jan 04 23:43:55 2008 +0100
@@ -26,7 +26,7 @@
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 @@
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/=.*/=/'
########################################
--- a/tests/test-convert-svn-source.out Fri Jan 04 23:43:49 2008 +0100
+++ b/tests/test-convert-svn-source.out Fri Jan 04 23:43:55 2008 +0100
@@ -11,8 +11,8 @@
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 @@
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 @@
sorting...
converting...
0 init
+extra: branch=
+extra: convert_revision=
# now tests that it works with trunk/branches/tags layout
% initial svn import