diff tests/test-share.t @ 31892:9e67ce5c4fd0

largefiles: set the extension as enabled locally after a share requiring it This has been done for clone since e1dbe0b215ae, so it makes sense here for the same reasons.
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 11 Apr 2017 20:54:50 -0400
parents 6c800688afe1
children fe0667cc521e
line wrap: on
line diff
--- a/tests/test-share.t	Tue Apr 11 21:38:11 2017 -0400
+++ b/tests/test-share.t	Tue Apr 11 20:54:50 2017 -0400
@@ -240,6 +240,14 @@
      bm3                       4:62f4ded848e4
   $ cd ..
 
+non largefiles repos won't enable largefiles
+
+  $ hg share --config extensions.largefiles= repo3 sharedrepo
+  updating working directory
+  2 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  $ [ -f sharedrepo/.hg/hgrc ]
+  [1]
+
 test pushing bookmarks works
 
   $ hg clone repo3 repo4