Skip to content
Snippets Groups Projects
Commit 8724de878268 authored by Matt Harbison's avatar Matt Harbison
Browse files

tests: demonstrate an inconsistency when cloning to a missing directory tree

I noticed that `hg share` is unable to create more than one missing directory on
the path, and thought it was inconsistent with clone.  It turns out that the
path for copying/linking the remote store has the same limitation, but cloning
from a remote repo doesn't.
parent 7a111168659e
No related branches found
No related tags found
No related merge requests found
......@@ -476,7 +476,7 @@
#endif
... and also keep partial clones and pulls working
$ hg clone http://localhost:$HGPORT1 --rev 0 test-partial-clone
$ hg clone http://localhost:$HGPORT1 --rev 0 test/partial/clone
adding changesets
adding manifests
adding file changes
......@@ -484,7 +484,7 @@
new changesets 8b6053c928fe
updating to branch default
4 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ hg pull -R test-partial-clone
$ hg pull -R test/partial/clone
pulling from http://localhost:$HGPORT1/
searching for changes
adding changesets
......@@ -494,6 +494,10 @@
new changesets 5fed3813f7f5:56f9bc90cce6
(run 'hg update' to get a working copy)
$ hg clone test/partial/clone test/another/clone
abort: $ENOTDIR$: 'test/another/clone'
[255]
corrupt cookies file should yield a warning
$ cat > $TESTTMP/cookies.txt << EOF
......
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