[RFC]New style of revision id [Was Re: VCS comparison table]

Martin Pool mbp at sourcefrog.net
Tue Oct 24 11:29:37 BST 2006


On Tue, 2006-10-24 at 00:17 +0200, Goffredo Baroncelli wrote:
> But I agree with Linus that the testament ( the bzr checksum ) isn't very 
> integrated with the usual bazaar workflow as the git "revision-ID".
> 
> From a bazaar developer point of view I think if it is possible to switch from 
> a pseudo-random revidion id, to a checksum basis revision id: the checksum 
> can be computed on the basis of the sha1 of the files, and 
> timestamp/commiter/parent-revision(s)/properties.
> 
> This new style of revid can be in the form
> <user>@<host>-<date>-<cksum>
> 
> Yes, the first three field are redundant: but so the change isn't too 
> dramatic ! :-)

I think storing or naming those objects by their hash is a pretty
interesting idea, and I've warmed to it after this discussion.  As you
say it should pretty much drop in to the existing framework.

-- 
Martin Pool <mbp at sourcefrog.net>




More information about the bazaar mailing list