Mercurial > hg
comparison tests/test-http.t @ 39185:143efea71c2a
clone: allow local cloning to create more than one level of directories
I figure cloning a remote repository is more common, thus it's more likely that
some people might be relying on the less restrictive behavior. Additionally,
`hg init` will also create more than one level of missing directories.
I also have a use case for reading the subrepos from .hgsub, and sharing them
into the normal nested location on the server. SCM Manager doesn't host
subrepos in the normal nested location, which is nice for deduplicating the
repository data, but confuses `hg verify`. Some of the subrepos are in the root
of the repositories, while others are one or two directories deep. So not
having to build up the parent path first is desirable.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Sat, 18 Aug 2018 00:51:26 -0400 |
parents | 8724de878268 |
children | f1186c292d03 |
comparison
equal
deleted
inserted
replaced
39184:8724de878268 | 39185:143efea71c2a |
---|---|
492 adding file changes | 492 adding file changes |
493 added 2 changesets with 3 changes to 3 files | 493 added 2 changesets with 3 changes to 3 files |
494 new changesets 5fed3813f7f5:56f9bc90cce6 | 494 new changesets 5fed3813f7f5:56f9bc90cce6 |
495 (run 'hg update' to get a working copy) | 495 (run 'hg update' to get a working copy) |
496 | 496 |
497 $ hg clone test/partial/clone test/another/clone | 497 $ hg clone -U -r 0 test/partial/clone test/another/clone |
498 abort: $ENOTDIR$: 'test/another/clone' | 498 adding changesets |
499 [255] | 499 adding manifests |
500 adding file changes | |
501 added 1 changesets with 4 changes to 4 files | |
502 new changesets 8b6053c928fe | |
500 | 503 |
501 corrupt cookies file should yield a warning | 504 corrupt cookies file should yield a warning |
502 | 505 |
503 $ cat > $TESTTMP/cookies.txt << EOF | 506 $ cat > $TESTTMP/cookies.txt << EOF |
504 > bad format | 507 > bad format |