Show More
@@ -41,7 +41,7 b' def state(ctx):' | |||||
41 | raise util.Abort(_('missing ] in subrepo source')) |
|
41 | raise util.Abort(_('missing ] in subrepo source')) | |
42 | kind, src = src.split(']', 1) |
|
42 | kind, src = src.split(']', 1) | |
43 | kind = kind[1:] |
|
43 | kind = kind[1:] | |
44 | state[path] = (src, rev.get(path, ''), kind) |
|
44 | state[path] = (src.strip(), rev.get(path, ''), kind) | |
45 |
|
45 | |||
46 | return state |
|
46 | return state | |
47 |
|
47 |
@@ -49,8 +49,8 b' echo % first revision, no sub' | |||||
49 | echo a > a |
|
49 | echo a > a | |
50 | hg ci -Am0 |
|
50 | hg ci -Am0 | |
51 |
|
51 | |||
52 | echo % add first svn sub |
|
52 | echo % add first svn sub with leading whitespaces | |
53 | echo "s = [svn]$SVNREPO/src" >> .hgsub |
|
53 | echo "s = [svn] $SVNREPO/src" >> .hgsub | |
54 | svn co --quiet $SVNREPO/src s |
|
54 | svn co --quiet $SVNREPO/src s | |
55 | hg add .hgsub |
|
55 | hg add .hgsub | |
56 | hg ci -m1 |
|
56 | hg ci -m1 |
@@ -18,7 +18,7 b' Committed revision 2.' | |||||
18 | % create hg repo |
|
18 | % create hg repo | |
19 | % first revision, no sub |
|
19 | % first revision, no sub | |
20 | adding a |
|
20 | adding a | |
21 | % add first svn sub |
|
21 | % add first svn sub with leading whitespaces | |
22 | committing subrepository s |
|
22 | committing subrepository s | |
23 | % debugsub |
|
23 | % debugsub | |
24 | path s |
|
24 | path s |
General Comments 0
You need to be logged in to leave comments.
Login now