diff tests/test-subrepo-relative-path.t @ 35834:fb278041df06 stable

subrepo: activate clone pooling to enable sharing with remote URLs This is the easiest way to ensure that repositories with remote subrepo references can share the subrepos, consistent with how local subrepos can be shared.
author Matt Harbison <matt_harbison@yahoo.com>
date Thu, 01 Mar 2018 11:37:00 -0500
parents eed02e192770
children b394778b1a50
line wrap: on
line diff
--- a/tests/test-subrepo-relative-path.t	Thu Mar 01 11:13:00 2018 -0500
+++ b/tests/test-subrepo-relative-path.t	Thu Mar 01 11:37:00 2018 -0500
@@ -84,9 +84,9 @@
   adding .hgsub
   $ cd ..
 
-Clone pooling works for local clones with a remote subrepo reference.
-
-BUG: subrepos should be shared out of the pool.
+Clone pooling works for local clones with a remote subrepo reference.  The
+subrepo is cloned to the pool and shared from there, so that all clones will
+share the same subrepo.
 
   $ hg --config extensions.share= --config share.pool=$TESTTMP/pool \
   >    clone absolute_subrepo cloned_from_abs
@@ -101,12 +101,15 @@
   no changes found
   updating working directory
   cloning subrepo sub from http://localhost:$HGPORT/sub
+  (sharing from new pooled repository 863c1745b441bd97a8c4a096e87793073f4fb215)
   requesting all changes
   adding changesets
   adding manifests
   adding file changes
   added 1 changesets with 1 changes to 1 files
   new changesets 863c1745b441
+  searching for changes
+  no changes found
   3 files updated, 0 files merged, 0 files removed, 0 files unresolved
 
 Vanilla sharing with a subrepo remote path reference will clone the subrepo.