diff hgext/largefiles/uisetup.py @ 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 2143266ecb65
children 1b27e1793156
line wrap: on
line diff
--- a/hgext/largefiles/uisetup.py	Tue Apr 11 21:38:11 2017 -0400
+++ b/hgext/largefiles/uisetup.py	Tue Apr 11 20:54:50 2017 -0400
@@ -120,6 +120,7 @@
                  _('download all versions of all largefiles'))]
     entry[1].extend(cloneopt)
     entry = extensions.wrapfunction(hg, 'clone', overrides.hgclone)
+    entry = extensions.wrapfunction(hg, 'postshare', overrides.hgpostshare)
 
     entry = extensions.wrapcommand(commands.table, 'cat',
                                    overrides.overridecat)