How to add largefiles file from Python

Matt Mackall mpm at selenic.com
Mon Dec 10 16:27:11 UTC 2012


On Mon, 2012-12-10 at 01:59 -0800, ftreton wrote:
> I am trying to understand how to use Mercurial from Python regarding the
> usage of largefiles in order to help fixing an issue with TortoiseHG. 
> 
> After some search in the source code of TortoiseHG I found that this code
> was use to add a largefile:
> 
> commands.add(ui, repo, lfsize='', normal=None, large=True, *files)

Please start by printing out the value of commands.add at this point,
and see if it's actually still commands.add and not the function from
the largefiles module that wraps it.

-- 
Mathematics is the supreme nostalgia of our time.





More information about the Mercurial mailing list