tests/test-subrepo-relative-path.t
branchstable
changeset 36688 fb278041df06
parent 36687 eed02e192770
child 36689 b394778b1a50
equal deleted inserted replaced
36687:eed02e192770 36688:fb278041df06
    82   $ echo "sub = http://localhost:$HGPORT/sub" > .hgsub
    82   $ echo "sub = http://localhost:$HGPORT/sub" > .hgsub
    83   $ hg ci -Am 'add absolute subrepo'
    83   $ hg ci -Am 'add absolute subrepo'
    84   adding .hgsub
    84   adding .hgsub
    85   $ cd ..
    85   $ cd ..
    86 
    86 
    87 Clone pooling works for local clones with a remote subrepo reference.
    87 Clone pooling works for local clones with a remote subrepo reference.  The
    88 
    88 subrepo is cloned to the pool and shared from there, so that all clones will
    89 BUG: subrepos should be shared out of the pool.
    89 share the same subrepo.
    90 
    90 
    91   $ hg --config extensions.share= --config share.pool=$TESTTMP/pool \
    91   $ hg --config extensions.share= --config share.pool=$TESTTMP/pool \
    92   >    clone absolute_subrepo cloned_from_abs
    92   >    clone absolute_subrepo cloned_from_abs
    93   (sharing from new pooled repository 8d6a2f1e993b34b6557de0042cfe825ae12a8dae)
    93   (sharing from new pooled repository 8d6a2f1e993b34b6557de0042cfe825ae12a8dae)
    94   requesting all changes
    94   requesting all changes
    99   new changesets 8d6a2f1e993b:c6d0e6ebd1c9
    99   new changesets 8d6a2f1e993b:c6d0e6ebd1c9
   100   searching for changes
   100   searching for changes
   101   no changes found
   101   no changes found
   102   updating working directory
   102   updating working directory
   103   cloning subrepo sub from http://localhost:$HGPORT/sub
   103   cloning subrepo sub from http://localhost:$HGPORT/sub
       
   104   (sharing from new pooled repository 863c1745b441bd97a8c4a096e87793073f4fb215)
   104   requesting all changes
   105   requesting all changes
   105   adding changesets
   106   adding changesets
   106   adding manifests
   107   adding manifests
   107   adding file changes
   108   adding file changes
   108   added 1 changesets with 1 changes to 1 files
   109   added 1 changesets with 1 changes to 1 files
   109   new changesets 863c1745b441
   110   new changesets 863c1745b441
       
   111   searching for changes
       
   112   no changes found
   110   3 files updated, 0 files merged, 0 files removed, 0 files unresolved
   113   3 files updated, 0 files merged, 0 files removed, 0 files unresolved
   111 
   114 
   112 Vanilla sharing with a subrepo remote path reference will clone the subrepo.
   115 Vanilla sharing with a subrepo remote path reference will clone the subrepo.
   113 Each share of these top level repos will end up with independent subrepo copies
   116 Each share of these top level repos will end up with independent subrepo copies
   114 (potentially leaving the shared parent with dangling cset references).
   117 (potentially leaving the shared parent with dangling cset references).