Illegal Filesystem characters in revision names

Aaron Bentley aaron.bentley at utoronto.ca
Wed Dec 7 00:32:44 GMT 2005


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

Robert Collins wrote:
| My preference is to escape characters we dont want, which could be
| anything outside the legitimate URL character set (i.e. all non-7bit
| ascii characters and some of those too). This makes it as simple as
| possible for interoperation with other systems that have an analagous
| concept. I.e. to convert CVS one might use the CVS repository prefix +
| the dotted decimal revision to create a bzr rev id.

I agree.  I'd add that using the filesystem naming restrictions feels to
me like a very leaky abstraction, and a very ill-defined one.  It
sacrifices utility and predictability for ease-of implementation.

Having an irregular system like this forces other layers to do encoding
and decoding, violating DRY.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDli2s0F+nu1YWqI0RAohJAJ4mpEvBvsAEkOCo47wFCrO6hKqjcgCdFeyv
qp+ZKrP8BfVys+F493Wb1V4=
=5PpE
-----END PGP SIGNATURE-----




More information about the bazaar mailing list