##// END OF EJS Templates
test-convert-svn-source: test convert/multiple extra fields
Patrick Mezard -
r5804:de8311f7 default
parent child Browse files
Show More
@@ -26,7 +26,7 b' if [ $? -ne 0 ]; then'
26 26 svnpath='/'$svnpath
27 27 fi
28 28
29 svnurl=file://$svnpath/svn-repo/trunk
29 svnurl=file://$svnpath/svn-repo/trunk/test
30 30 svn import -m init t $svnurl | fix_path
31 31
32 32 echo % update svn repository
@@ -60,6 +60,10 b" hg glog -R fmap --template '#rev# #desc|"
60 60
61 61 echo % test stop revision
62 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
@@ -11,8 +11,8 b' Adding b'
11 11 Transmitting file data ..
12 12 Committed revision 2.
13 13 % convert to hg once
14 assuming destination trunk-hg
15 initializing destination trunk-hg repository
14 assuming destination test-hg
15 initializing destination test-hg repository
16 16 scanning source...
17 17 sorting...
18 18 converting...
@@ -24,7 +24,7 b' Sending b'
24 24 Transmitting file data ..
25 25 Committed revision 3.
26 26 % test incremental conversion
27 assuming destination trunk-hg
27 assuming destination test-hg
28 28 scanning source...
29 29 sorting...
30 30 converting...
@@ -47,6 +47,8 b' scanning source...'
47 47 sorting...
48 48 converting...
49 49 0 init
50 extra: branch=
51 extra: convert_revision=
50 52 # now tests that it works with trunk/branches/tags layout
51 53
52 54 % initial svn import
General Comments 0
You need to be logged in to leave comments. Login now