Mercurial > hg
diff tests/test-convert-svn-tags @ 8765:9c75f16f577c
test-convert-svn-*: no longer need the url building code
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Tue, 09 Jun 2009 21:50:42 +0200 |
parents | 5b7da468531b |
children | bb5ea66789e3 |
line wrap: on
line diff
--- a/tests/test-convert-svn-tags Sat Jun 06 00:08:37 2009 +0200 +++ b/tests/test-convert-svn-tags Tue Jun 09 21:50:42 2009 +0200 @@ -14,17 +14,8 @@ svnadmin create svn-repo cat "$TESTDIR/svn/tags.svndump" | svnadmin load svn-repo > /dev/null -svnpath=`pwd | fix_path` -# SVN wants all paths to start with a slash. Unfortunately, -# Windows ones don't. Handle that. -expr $svnpath : "\/" > /dev/null -if [ $? -ne 0 ]; then - svnpath='/'$svnpath -fi -svnurl=file://$svnpath/svn-repo - echo % convert -hg convert --datesort $svnurl A-hg +hg convert --datesort svn-repo A-hg cd A-hg hg glog --template '{rev} {desc|firstline} tags: {tags}\n' @@ -32,6 +23,6 @@ cd .. echo % convert without tags -hg convert --datesort --config convert.svn.tags= $svnurl A-notags-hg +hg convert --datesort --config convert.svn.tags= svn-repo A-notags-hg hg -R A-notags-hg tags -q