changeset 40390 | 7e3b6c4f01a2 |
parent 40366 | b14fdf1fb615 |
child 40438 | e5f54c4ec075 |
child 40505 | 09a37a5d8f5d |
--- a/mercurial/hg.py Wed Sep 26 14:41:15 2018 -0700 +++ b/mercurial/hg.py Fri Oct 19 14:59:03 2018 +0200 @@ -578,6 +578,9 @@ createopts['narrowfiles'] = True + if depth: + createopts['shallowfilestore'] = True + if srcpeer.capable(b'lfs-serve'): # Repository creation honors the config if it disabled the extension, so # we can't just announce that lfs will be enabled. This check avoids