diff mercurial/localrepo.py @ 39854:823a580448d7

largefiles: automatically load largefiles extension when required (BC) This is very similar to what we just did for LFS but for largefiles. See recent commit messages for the rationale here. Differential Revision: https://phab.mercurial-scm.org/D4713
author Gregory Szorc <gregory.szorc@gmail.com>
date Thu, 20 Sep 2018 15:30:00 -0700
parents 2c2fadbc9851
children e1e3d1b498d3
line wrap: on
line diff
--- a/mercurial/localrepo.py	Thu Sep 20 15:18:13 2018 -0700
+++ b/mercurial/localrepo.py	Thu Sep 20 15:30:00 2018 -0700
@@ -588,6 +588,7 @@
     # Map of requirements to list of extensions to load automatically when
     # requirement is present.
     autoextensions = {
+        b'largefiles': [b'largefiles'],
         b'lfs': [b'lfs'],
     }