[Bug 3726] New: Adding largefiles with Mercurial API

bugzilla-daemon at bz.selenic.com bugzilla-daemon at bz.selenic.com
Fri Dec 7 11:33:36 CST 2012


http://bz.selenic.com/show_bug.cgi?id=3726

          Priority: normal
            Bug ID: 3726
                CC: mercurial-devel at selenic.com, natosha at gmail.com
          Assignee: bugzilla at selenic.com
           Summary: Adding largefiles with Mercurial API
          Severity: feature
    Classification: Unclassified
                OS: Windows
          Reporter: ftreton at dxo.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.4
         Component: largefiles
           Product: Mercurial

I am trying to understand how to use Mercurial API regarding the usage of
largefiles in order to help fixing an issue with TortoiseHG. 

We are using TortoiseHG to add files with the largefiles extension. We have
found that in some case this tool was not able to add a file as largefiles.

After some search in the source code we came to the conclusion that TortoiseHG
was using two ways to add files: using the mercurial API and with direct call
to hg command. The code using the API does not seem to works to add a
largefiles, here is the exact call:

commands.add(ui, repo, lfsize='', normal=None, large=True, *files)

This piece of code will add a standard file and options large does not seems to
be take into account and use in the code.

It will be helpful if someone can look and explain how this should work.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list