What constitutes the "identity" of a changeset?

Aaron Bentley aaron at aaronbentley.com
Fri Mar 28 19:38:36 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Paul Moore wrote:
> This may not be a valid question in the context of Bazaar, but bear with me...
> 
> In Mercurial, a changeset is identified by its ID, which is a hash of
> all the data and metadata making up the changeset

In Bazaar, we refer to revisions, not changesets.  Revisions are states,
not deltas.  Their ids are arbitrary UUIDs.  Deterministic importers
like bzr-svn and baz-import use metadata from the source VCS to assign
the UUIDs such that an import of the same data produces the same UUID.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFH7Uk70F+nu1YWqI0RAidZAJ4hF4PXmBQVVZA+Ch22ozBshe5yswCfbemW
I9o53gvApT3/+tstpKAq69E=
=Lamf
-----END PGP SIGNATURE-----



More information about the bazaar mailing list