[RFC] sha1 of fileid naming for knit files
Robert Collins
robertc at robertcollins.net
Fri Oct 20 03:45:43 BST 2006
To help out a user trying bzr-svn [which creates loong file ids because
it needs a mapping back into svn], I have whipped up this plugin -
http://bazaar.launchpad.net/~lifeless/+junk/sha1repo
Drop it in ~/.bazaar/plugins/sha1repo and you get a new format
'knitsha1' which can be addressed via the command line.
This format is essentially a knitformat1 repository with the text store
changed to use a different algorithm for determining the on disk names.
It sha1's the fileid to get the 40byte hex digest and uses that for the
filename.
I'm wondering what people think of this as the escaping format to fix
our problems with respect to apache etc.
-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061020/8be5dc55/attachment.pgp
More information about the bazaar
mailing list