[RFC][PATCH] New style of revision id

Alexander Belchenko bialix at ukr.net
Thu Oct 26 08:55:05 BST 2006


Goffredo Baroncelli пишет:
> Hi all,
> 
> I hacked a bit bazaar and now I added the support for revision-id with 
> checksum ( as git and/or hgweb ). John made some suggestions and now that is 
> the result.
> 
> 
> ****
> NOTE 
> This is an experimental version, the revision-id format can change (and will), 
> so please don't use it in production.
> ****
> 
> The new revision-id is in the form:
> 
> <user>@<host>-<yyyymmddhhmmss>-<sha1sum>

After discussion with git folks I think it's better to use form:

<sha1sum>-<user>@<host>-<yyyymmddhhmmss>

In this case unique id can be easily autocompleted or shortened to (say
so) 10 chars ;-). And this could be useful to using in visualisation
tools like bzrtools' graph-ancestry plugin.

--
Alexander





More information about the bazaar mailing list