Mercurial > hg > mercurial-crew-with-dirclash
comparison tests/test-convert-svn @ 5273:4287590a63af
Fix \ inside ` problem in test-convert-svn (avoids code duplication, too)
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 31 Aug 2007 12:54:07 +0200 |
parents | 37c610c41ed6 |
children | d7d395fb7cd5 |
comparison
equal
deleted
inserted
replaced
5272:89696e71bd89 | 5273:4287590a63af |
---|---|
16 mkdir t | 16 mkdir t |
17 cd t | 17 cd t |
18 echo a > a | 18 echo a > a |
19 cd .. | 19 cd .. |
20 | 20 |
21 svnpath=`pwd | tr '\\' /` | 21 svnpath=`pwd | fix_path` |
22 # SVN wants all paths to start with a slash. Unfortunately, | 22 # SVN wants all paths to start with a slash. Unfortunately, |
23 # Windows ones don't. Handle that. | 23 # Windows ones don't. Handle that. |
24 expr $svnpath : "\/" > /dev/null | 24 expr $svnpath : "\/" > /dev/null |
25 if [ $? -ne 0 ]; then | 25 if [ $? -ne 0 ]; then |
26 svnpath='/'$svnpath | 26 svnpath='/'$svnpath |