How to add largefiles file from Python

ftreton ftreton at dxo.com
Wed Dec 12 10:00:54 UTC 2012


Matt Harbison wrote
> I'm stumped.  It doesn't seem like a largefiles problem though, since it 
> _does_ work when called by hg.exe.  I thought maybe the command table was 
> getting reset somehow prior to being used, but even calling 
> extensions.loadall() or calling uisetup() on largefiles directly didn't 
> help- printing out the add method before and after those calls printed the 
> same thing.

The fact that this is working with hg.exe is because the command ‘add’ is
correctly overridden by uisetup().
 
I could not see any other way than to add to uisetup the function override
but I am not familiar with mercurial internal. 
I made a quick tests where the 'add' function is override and it seems that
the code of *overrideadd* does not respond well and need some changes.



--
View this message in context: http://mercurial.808500.n3.nabble.com/How-to-add-largefiles-file-from-Python-tp3995633p3995709.html
Sent from the General mailing list archive at Nabble.com.



More information about the Mercurial mailing list