##// 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 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
@@ -60,6 +60,10 b" hg glog -R fmap --template '#rev# #desc|"
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
@@ -11,8 +11,8 b' Adding b'
11 Transmitting file data ..
11 Transmitting file data ..
12 Committed revision 2.
12 Committed revision 2.
13 % convert to hg once
13 % convert to hg once
14 assuming destination trunk-hg
14 assuming destination test-hg
15 initializing destination trunk-hg repository
15 initializing destination test-hg repository
16 scanning source...
16 scanning source...
17 sorting...
17 sorting...
18 converting...
18 converting...
@@ -24,7 +24,7 b' Sending b'
24 Transmitting file data ..
24 Transmitting file data ..
25 Committed revision 3.
25 Committed revision 3.
26 % test incremental conversion
26 % test incremental conversion
27 assuming destination trunk-hg
27 assuming destination test-hg
28 scanning source...
28 scanning source...
29 sorting...
29 sorting...
30 converting...
30 converting...
@@ -47,6 +47,8 b' scanning source...'
47 sorting...
47 sorting...
48 converting...
48 converting...
49 0 init
49 0 init
50 extra: branch=
51 extra: convert_revision=
50 # now tests that it works with trunk/branches/tags layout
52 # now tests that it works with trunk/branches/tags layout
51
53
52 % initial svn import
54 % initial svn import
General Comments 0
You need to be logged in to leave comments. Login now