diff tests/test-clone.t @ 30041:1779dde4c9ef

hg: set default path correctly when doing a clone+share (issue5378) Before, if performing a clone+share from a repo that was itself using shared storage, the share code would copy paths.default from the underlying repo being shared, not from the source given by the user. This patch teaches hg.clonewithshare to resolve paths.default and pass it to share so it can be written to the hgrc accordingly.
author Gregory Szorc <gregory.szorc@gmail.com>
date Sun, 02 Oct 2016 22:34:40 -0700
parents 0e330d7d9f53
children 932faa29b4c1
line wrap: on
line diff
--- a/tests/test-clone.t	Sat Oct 01 14:18:58 2016 +0100
+++ b/tests/test-clone.t	Sun Oct 02 22:34:40 2016 -0700
@@ -829,7 +829,7 @@
 Default path should be source, not share.
 
   $ hg -R share-dest1b config paths.default
-  $TESTTMP/source1a (glob)
+  $TESTTMP/source1b (glob)
 
 Checked out revision should be head of default branch