Solution for baz2bzr revision ids on windows
Aaron Bentley
aaron.bentley at utoronto.ca
Wed Jan 11 15:12:25 GMT 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
John Arbash Meinel wrote:
> I have a somewhat pressing need to have the revision-id problem solved.
> If I have to, I'll just hack baz2bzr to use # instead of : or somesuch.
> (I can use Arch-2# instead of Arch-1: if preferred)
>
> This page has the forbidden list:
> http://www.grouplogic.com/Knowledge/index.cfm?fuseaction=view&docID=111
> / ? < > \ : * | " ^
>
> ^ is only illegal on FAT
Okay, I think we should make this Arch-2. It's going to hurt anyhow, so
we might as well pull the bandaid off quickly. Since all we're changing
is the namespace, I'd like an option to generate Arch-1 style revision-ids.
I would like to avoid this situation in the future, so I think we should
make all ids escaped utf8-encoded strings that cannot include any
forbidden characters.
This would permit using any character as the namespace separator, but
for the sake of aesthetics, I think we should use a different character.
Semicolon and comma are my leading candidates.
If we use URL escaping, we should also change the Arch path separator,
since % would be %25. If it's going to be escaped anyhow, we should use
%2f. Otherwise, suggestions for an alternate character are welcome.
Do you have the time to do this work?
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDxSBZ0F+nu1YWqI0RAtwEAJ4r1p2jFWg/uY10A8ls+8WdMCT+LQCaA9ha
oGbugMaWON9B/rqPpH5CTPk=
=Da6A
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list