Comments
Patch
========================================
@@ -44,62 +44,30 @@
initial roundtrip
$ hg convert -s svn -d hg "$SVNREPOPATH"-wc "$SVNREPOPATH"-hg | grep -v
initializing
- scanning source...
- sorting...
- converting...
- 0 added a
+ abort: $TESTTMP/svn-repo-wc: missing or unsupported repository
+ file://$TESTTMP/svn-repo-wc does not look like a Subversion repository
$ hg convert -s hg -d svn "$SVNREPOPATH"-hg "$SVNREPOPATH"-wc
- scanning source...
- sorting...
- converting...
+ $TESTTMP/svn-repo-hg is not a local Mercurial repository
+ abort: $TESTTMP/svn-repo-hg: missing or unsupported repository
+ [255]
second roundtrip should do nothing
$ hg convert -s svn -d hg "$SVNREPOPATH"-wc "$SVNREPOPATH"-hg
- scanning source...
- sorting...
- converting...
+ initializing destination $TESTTMP/svn-repo-hg repository
+ file://$TESTTMP/svn-repo-wc does not look like a Subversion repository
+ abort: $TESTTMP/svn-repo-wc: missing or unsupported repository
+ [255]
$ hg convert -s hg -d svn "$SVNREPOPATH"-hg "$SVNREPOPATH"-wc
- scanning source...
- sorting...
- converting...
+ $TESTTMP/svn-repo-hg is not a local Mercurial repository
+ abort: $TESTTMP/svn-repo-hg: missing or unsupported repository
+ [255]
new hg rev
$ hg clone "$SVNREPOPATH"-hg "$SVNREPOPATH"-work
- updating to branch default
- 1 files updated, 0 files merged, 0 files removed, 0 files unresolved
+ abort: repository $TESTTMP/svn-repo-hg not found!
+ [255]
$ cd "$SVNREPOPATH"-work
+ /var/folders/lw/h270bqsd7gj04kb4t2b_cwk00000gn/T/tmp5hH894hg-tst: line 57:
cd: $TESTTMP/svn-repo-work: No such file or directory
$ echo b > b
- $ hg add b
- $ hg ci -mb
-
-adding an empty revision
-
- $ hg qnew -m emtpy empty
- $ hg qfinish -a
- $ cd ..
-
-echo hg to svn
-
- $ hg --cwd "$SVNREPOPATH"-hg pull -q "$SVNREPOPATH"-work
- $ hg convert -s hg -d svn "$SVNREPOPATH"-hg "$SVNREPOPATH"-wc
- scanning source...
- sorting...
- converting...
- 1 b
- 0 emtpy
-
-svn back to hg should do nothing
-
- $ hg convert -s svn -d hg "$SVNREPOPATH"-wc "$SVNREPOPATH"-hg
- scanning source...
- sorting...
- converting...
-
-hg back to svn should do nothing
-
- $ hg convert -s hg -d svn "$SVNREPOPATH"-hg "$SVNREPOPATH"-wc
- scanning source...