please check out weave-format branch
John A Meinel
john at arbash-meinel.com
Sat Sep 24 00:36:16 BST 2005
John A Meinel wrote:
> Martin Pool wrote:
>
...
> mbp at sourcefrog.net/200507/16000740-f2dcb8894a23fd2d.gz
>
> It would have been nice to separate at the "-" because then it was a
> simple transformation. But I think this will work anyway.
>
> We could just do it as "until first -", next 6 characters, rest of text.
> So it doesn't have to fit the formula (though almost all revisions will).
>
> I forgot about the dos mangling stuff. Even just 1k files with the same
> prefix starts to get painful.
Just to illustrate this point, the latest mbp revision in bzr.dev on my
windows machine has the DOS name:
$ cygpath -d mbp\@sourcefrog.net-20050923092045-f9a2c5bd0cac14aa.gz
MB7A6C~1.GZ
You can see that it had to has 4 extra characters, which means all files
starting with mb potentially conflict.
Where this really hurts is at file creation time, as it has to try a
name, see that it conflicts, and keep going until it gets a
non-conflicting one. This probably makes copying an existing branch take
far too long. As it scales at best O(num files in directory) to insert
each file.
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050923/b319bc10/attachment.pgp
More information about the bazaar
mailing list