backslash in file names

John Arbash Meinel john at arbash-meinel.com
Thu Oct 23 03:29:45 BST 2008


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


...

>     $ cd /filesystem-that-CANNOT-handle-backslash-in-names/
>     $ bzr checkout bzr://example.com/branch-foo/
>     $ cd branch-foo/
>     $ ls
>     normalname
> 
>     $ bzr revert --revision 101
> 
> Should the checkout fail in the second case, even though the current
> working tree is compatible with the filesystem? If so, any poor choice
> of filename dooms the branch forever, beyond hope of a rename
> operation. That doesn't seem reasonable.
> 
> Should the checkout succeed, but the revert fail if it creates a
> working tree incompatible with the filesystem? I think that would be
> better, but it's different from what you seem to be proposing.
> 

Generally yes. It is how we handle symlinks, for example.

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

iEYEARECAAYFAkj/4ZkACgkQJdeBCYSNAAMi/QCg0b3fRp4SWbD8pfskjPt9WGJ+
AA0An0MOVAlhMCeER20oV62jEikPyeKC
=wEND
-----END PGP SIGNATURE-----



More information about the bazaar mailing list