Show More
@@ -2,11 +2,19 b'' | |||||
2 |
|
2 | |||
3 | "$TESTDIR/hghave" svn || exit 80 |
|
3 | "$TESTDIR/hghave" svn || exit 80 | |
4 |
|
4 | |||
5 | escapedwd=$(pwd | \ |
|
5 | fix_path() | |
6 | python -c \ |
|
6 | { | |
7 | "import sys,urllib; print urllib.pathname2url(sys.stdin.read().strip())" |
|
7 | tr '\\' / | |
8 | ) |
|
8 | } | |
9 | filterpath="sed s+$escapedwd+/root+" |
|
9 | ||
|
10 | escapedwd=`pwd | fix_path` | |||
|
11 | # SVN wants all paths to start with a slash. Unfortunately, | |||
|
12 | # Windows ones don't. Handle that. | |||
|
13 | expr $escapedwd : "\/" > /dev/null | |||
|
14 | if [ $? -ne 0 ]; then | |||
|
15 | escapedwd='/'$escapedwd | |||
|
16 | fi | |||
|
17 | filterpath="sed s|$escapedwd|/root|" | |||
10 |
|
18 | |||
11 | echo % create subversion repo |
|
19 | echo % create subversion repo | |
12 |
|
20 | |||
@@ -64,7 +72,7 b" hg ci -m 'amend alpha from hg'" | |||||
64 | echo |
|
72 | echo | |
65 | echo % clone |
|
73 | echo % clone | |
66 | cd .. |
|
74 | cd .. | |
67 | hg clone t tc |
|
75 | hg clone t tc | fix_path | |
68 | cd tc |
|
76 | cd tc | |
69 | echo % debugsub in clone |
|
77 | echo % debugsub in clone | |
70 | hg debugsub | $filterpath |
|
78 | hg debugsub | $filterpath |
General Comments 0
You need to be logged in to leave comments.
Login now