Skip to content
Snippets Groups Projects
Commit 414f0f1d131e authored by Dan Villiom Podlaski Christiansen's avatar Dan Villiom Podlaski Christiansen
Browse files

tests: compare path "invention" with a properly specified path

We currently imply a default path when pushing to unknown Git remotes,
and add corresponding git-remote tags. Only one of our tests relies on
this. To document the differences, run it with and without a path.
parent cec26d448318
No related branches found
No related tags found
1 merge request!124Adjust initial clone and push behaviour
#testcases with-path without-path
Load commonly used test logic
$ . "$TESTDIR/testutil"
......@@ -36,4 +38,9 @@
$ git init --bare gitrepo1
Initialized empty Git repository in $TESTTMP/gitrepo1/
#if with-path
$ hg clone gitrepo1 hgrepo
updating to branch default
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
#else
$ hg init hgrepo
......@@ -39,4 +46,5 @@
$ hg init hgrepo
#endif
$ cd hgrepo
$ hg branch -q branch1
$ hg bookmark branch1_bookmark
......@@ -108,6 +116,8 @@
$ cd ..
$ cd hgrepo
$ hg paths
default = $TESTTMP/gitrepo1 (with-path !)
$ hg pull ../gitrepo1
pulling from ../gitrepo1
importing git objects into hg
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment