diff hgext/lfs/wrapper.py @ 40368:fad6068249d9

lfs: don't add extension to hgrc after conversion (BC) This is in the spirit of bcf72d7b1524.
author Matt Harbison <matt_harbison@yahoo.com>
date Thu, 18 Oct 2018 21:55:47 -0400
parents 6637b079ae45
children 4a81d82474e9
line wrap: on
line diff
--- a/hgext/lfs/wrapper.py	Thu Oct 18 21:00:07 2018 +0900
+++ b/hgext/lfs/wrapper.py	Thu Oct 18 21:55:47 2018 -0400
@@ -213,10 +213,6 @@
                         self.repo.requirements.add('lfs')
                         self.repo._writerequirements()
 
-                        # Permanently enable lfs locally
-                        self.repo.vfs.append(
-                            'hgrc', util.tonativeeol('\n[extensions]\nlfs=\n'))
-
                 return node
 
         sink.__class__ = lfssink