convert: svn_sink: workaround of command line size limitation

Maxim Dounin mdounin at mdounin.ru
Fri Jan 4 18:46:50 CST 2008


Hello!

>changeset:   5790:f85c0034a062
>user:        Shun-ichi GOTO <shunichi.goto at gmail.com>
>date:        Thu Jan 03 06:25:30 2008 +0900
>files:       hgext/convert/subversion.py
>description:
>convert: svn_sink: workaround of command line size limitation on 
>win32.
>
>On win32, the command line arguments seems to be limited about 2400
>bytes.  So 'add', 'delete', 'propget' and 'propdel' operations are
>called several times within this limitation.  And also 'commit'
>operation is changed to be called without passing target files not to
>exceeds this limitation because it cannot be a separated like other
>operations above.

Shouldn't this go into commandline class instead? I think method like 
xargs would be usable.

Maxim Dounin


More information about the Mercurial-devel mailing list