diff tests/test-largefiles-misc.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 d7af9b4ae7dd
children e8569cc131d1 d3ab31bf9c0e
line wrap: on
line diff
--- a/tests/test-largefiles-misc.t	Tue Apr 11 21:38:11 2017 -0400
+++ b/tests/test-largefiles-misc.t	Tue Apr 11 20:54:50 2017 -0400
@@ -212,6 +212,18 @@
   date:        Thu Jan 01 00:00:00 1970 +0000
   summary:     add files
   
+sharing a largefile repo automatically enables largefiles on the share
+
+  $ hg share --config extensions.share= . ../shared_lfrepo
+  updating working directory
+  getting changed largefiles
+  1 largefiles updated, 0 removed
+  3 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  $ cat ../shared_lfrepo/.hg/hgrc
+  
+  [extensions]
+  largefiles=
+
 verify that large files in subrepos handled properly
   $ hg init subrepo
   $ echo "subrepo = subrepo" > .hgsub