Patchwork D8266: localrepo: add git extension to autoextensions list

login
register
mail settings
Submitter phabricator
Date March 7, 2020, 11:01 p.m.
Message ID <differential-rev-PHID-DREV-2x4lvela7bbbliwxl4ln-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/45616/
State Superseded
Headers show

Comments

phabricator - March 7, 2020, 11:01 p.m.
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D8266

AFFECTED FILES
  mercurial/localrepo.py

CHANGE DETAILS




To: durin42, #hg-reviewers
Cc: mercurial-devel

Patch

diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py
--- a/mercurial/localrepo.py
+++ b/mercurial/localrepo.py
@@ -699,6 +699,7 @@ 
     # Map of requirements to list of extensions to load automatically when
     # requirement is present.
     autoextensions = {
+        b'git': [b'git'],
         b'largefiles': [b'largefiles'],
         b'lfs': [b'lfs'],
     }