[issue2657] Error "The filename or extension is too long" is raised while update

Anton bugs at mercurial.selenic.com
Thu Feb 24 13:21:44 UTC 2011


New submission from Anton <restuta8 at gmail.com>:

I am using Windows 7, 64 bit.

I am trying to perform "hg.exe update -C default" command on my repository,
but path to some files in my repository violates Windows default path limit
of 260 symbols. So this command fails with "The filename or extension is too
long". 

I have made some research and figured out that this is the problems for all
programs that is using old WinAPI functions (even windows explorer was using
them until Windows 7). 

Some explanations can be found here: 
http://superuser.com/questions/37737/extend-maximum-file-path-size-in-windows-7
or here 
http://msdn.microsoft.com/en-us/library/aa365247%28v=vs.85%29.aspx#maxpath

Any plans to get this fixed?

----------
messages: 15380
nosy: Restuta
priority: bug
status: unread
title: Error "The filename or extension is too long" is raised while update

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2657>
____________________________________________________


More information about the Mercurial-devel mailing list