Checkout of branch w/ long file names to deep path fails on Windows XP

Martin Packman martin.packman at canonical.com
Wed Aug 22 15:36:46 UTC 2012


On 22/08/2012, Bulgrien, Kevin <Kevin.Bulgrien at gdsatcom.com> wrote:
...
> IOError: [Errno 2] No such file or directory:
> u'C:/msys/1.0/home/kbulgrien/tmp/bzr/kbulgrien/windows_xp/machine2/.bzr/checkout/limbo/new-2/kbulgrien/Favorites/Hardware/Emulation/Emulation
> Technology, Inc. World Leader for IC Adapters, Test Clips, Sockets and IC
> Testing Accessories for QFP, BGA, PGA, PBGA.url'

This is just the Windows maximum path length limitation, see their
documentation:

<http://msdn.microsoft.com/library/windows/desktop/aa365247#maxpath>

It's possible to hack around by forcing the use of UNC paths
everywhere, but then you get into the situation of having filesystem
objects you can't operate on using explorer or other normal windows
tools.

Martin



More information about the bazaar mailing list