Update fails with long file name

Isaac Jurado diptongo at gmail.com
Mon Sep 28 22:13:15 UTC 2015


On Mon, Sep 28, 2015 at 11:18 PM, Benjamin Fritz
<fritzophrenic at gmail.com> wrote:
> I'm not sure whether the problem is in Mercurial, or in hgsubversion,
> so please let me know if this is a bad place to report the issue.
>
> I cloned a SVN repository by creating a new (empty) hg repository,
> then enabling the hgsubversion extension, and doing "hg pull" with the
> URL of my SVN repository.
>
> I used TortoiseSVN for all of the above, so I don't have the exact command
> line.
>
> The pull worked fine but the update step failed as follows:
>
> E:\Project_Files\XXX-hg\Verification/XXX_config/Error_Config/XXXXXXXXX/XXXXXXXXXXXXXXXXXX0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678.csv

The path is 262 characters long.  Apparently, there is a 260 character
limit depending on which operating system API you use to access de
filesystem.

But it would be surprising Mercurial suffers from that limit, since it
has special workarounds on Windows.

Cheers.

-- 
Isaac Jurado

"The noblest pleasure is the joy of understanding"
Leonardo da Vinci



More information about the Mercurial mailing list