Error 267 "The directory name is invalid" on pull/branch on Windoze

John Arbash Meinel john at arbash-meinel.com
Tue Aug 12 15:49:24 BST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Frits Jalvingh wrote:
> I have a repository which is completely usable from Linux without problems. 
> But some members of the team still run Windows and get the following error 
> since this morning:
> 
> C:\>bzr branch bzr://172.22.128.28/wsdomui
> 
> bzr: ERROR: [Error 267] De mapnaam is ongeldig:
> u'C:/wsdomui/.bzr/checkout/limbo/new-9/src/nl/itris/viewpoint/bp/con'
> 
> This happens for both branch and pull, and it happens both in a new unshared 
> directory and in a shared directory. I did a bzr check in the source 
> directory and that did not show any errors:
> 
> jal at cite:~/bzrws/wsdomui$ bzr check
> checked branch file:///home/jal/bzrws/wsdomui/ format Bazaar Branch Format 6 
> (bzr 0.15)
> checked repository <bzrlib.transport.local.LocalTransport 
> url=file:///home/jal/bzrws/> format <RepositoryFormatKnitPack4>
>    499 revisions
>  25245 file-ids
>  24021 unique file texts
> 1482431 repeated file texts
>      0 unreferenced text versions
> 
> I upgraded bzr from 1.4 to 1.5 but that did not fix the problem.
> 
> Any hope of resolving this?
> 
> Greetings,
> 
> Frits
> 
> 

Windows doesn't allow certain filenames. Such as "prn", "com", and a few
others. I didn't know about it refusing "con", but that looks like what
it is complaining about.

On a Linux machine, you should be able to rename that to something else,
commit, and then checkout should work.

The problem is a filename/directory in *your* tree, not a file that bzr
generates behind the scenes. (In other words, if someone tried to copy
the directory across using Explorer, I would expect it to fail as well.)

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkihovQACgkQJdeBCYSNAANAjwCfT27dJNIq928z26tUXPB+tl7I
VI4AoKAzWgBfSgZIeRpkGWtY12VmzddC
=5SIQ
-----END PGP SIGNATURE-----



More information about the bazaar mailing list