##// END OF EJS Templates
test-subrepo-mq-svn.t: correct comment...
Kevin Bullock -
r13326:535a8912 default
parent child Browse files
Show More
@@ -1,52 +1,52 b''
1 1 $ "$TESTDIR/hghave" svn || exit 80
2 2
3 3 $ echo "[extensions]" >> $HGRCPATH
4 4 $ echo "mq=" >> $HGRCPATH
5 5 $ echo "[diff]" >> $HGRCPATH
6 6 $ echo "nodates=1" >> $HGRCPATH
7 7
8 fn to create new repository w/dirty subrepo, and cd into it
8 fn to create new repository, and cd into it
9 9 $ mkrepo() {
10 10 > hg init $1
11 11 > cd $1
12 12 > hg qinit
13 13 > }
14 14
15 15
16 16 handle svn subrepos safely
17 17
18 18 $ svnadmin create svn-repo-2499
19 19 $ curpath=`pwd | tr '\\\\' /`
20 20 $ expr "$svnpath" : "\/" > /dev/null
21 21 > if [ $? -ne 0 ]; then
22 22 > curpath="/$curpath"
23 23 > fi
24 24 $ svnurl="file://$curpath/svn-repo-2499/project"
25 25 $ mkdir -p svn-project-2499/trunk
26 26 $ svn import -m 'init project' svn-project-2499 "$svnurl"
27 27 Adding svn-project-2499/trunk
28 28
29 29 Committed revision 1.
30 30
31 31 qnew on repo w/svn subrepo
32 32 $ mkrepo repo-2499-svn-subrepo
33 33 $ svn co "$svnurl"/trunk sub
34 34 Checked out revision 1.
35 35 $ echo 'sub = [svn]sub' >> .hgsub
36 36 $ hg add .hgsub
37 37 $ hg status -S
38 38 A .hgsub
39 39 ? sub/.svn/entries
40 40 $ hg qnew -m0 0.diff
41 41 committing subrepository sub
42 42 $ cd sub
43 43 $ echo a > a
44 44 $ svn add a
45 45 A a
46 46 $ svn st
47 47 A a
48 48 $ cd ..
49 49 $ hg status -S # doesn't show status for svn subrepos (yet)
50 50 $ hg qnew -m1 1.diff
51 51 abort: uncommitted changes in subrepository sub
52 52 [255]
General Comments 0
You need to be logged in to leave comments. Login now