Comment 6 for bug 77453

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 77453] Re: Generates file ids that are too long

On Sat, 2007-01-13 at 23:20 +0100, Jelmer Vernooij wrote:
> status confirmed
> affects /bzr
>
> Bazaar needs to have a consistent policy as to what length file ids are
> allowed or should at least throw a decent exception if a file id is
> being added that is too long to be stored by the current revision store.
>
> What characters are being escaped, how and what the maximum length of a
> file id therefore is is not something upper layers should have knowledge
> of.
>
> Robert hacked up a repository some time ago that allowed infinite (well,
> somewhat) revision ids by using the checksum of a file id as filename.
> Maybe this could be incorporated into the main tree sometime?

You use revision id and file id interchangeably here but they aren't.
bzr's current repository is already able to store 'infinite' length
*revision ids*, but not *file ids*.

So my repo format allows indefinite length file ids ;). It needs a
little cleanup to be mergable, mainly in handling of collisions.

-Rob
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.