changeset 5782:7eb1146b72ec

test-convert-svn-source: test stop revision
author Patrick Mezard <pmezard@gmail.com>
date Tue, 01 Jan 2008 23:12:48 +0100
parents 45d034c79ece
children 28d9f8cd02f2
files tests/test-convert-svn-source tests/test-convert-svn-source.out
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-convert-svn-source	Tue Jan 01 19:20:03 2008 +0100
+++ b/tests/test-convert-svn-source	Tue Jan 01 23:12:48 2008 +0100
@@ -58,6 +58,9 @@
 echo 'hgext.graphlog =' >> $HGRCPATH
 hg glog -R fmap --template '#rev# #desc|firstline# files: #files#\n'
 
+echo % test stop revision
+hg convert --rev 1 $svnurl stoprev
+
 ########################################
 
 echo "# now tests that it works with trunk/branches/tags layout"
--- a/tests/test-convert-svn-source.out	Tue Jan 01 19:20:03 2008 +0100
+++ b/tests/test-convert-svn-source.out	Tue Jan 01 23:12:48 2008 +0100
@@ -41,6 +41,12 @@
 |
 o  0 changea files: b
 
+% test stop revision
+initializing destination stoprev repository
+scanning source...
+sorting...
+converting...
+0 init
 # now tests that it works with trunk/branches/tags layout
 
 % initial svn import