Some question about bzr
Aaron Bentley
aaron.bentley at utoronto.ca
Wed Sep 7 15:27:37 BST 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Matthieu MOY wrote:
> Magnus Therning said:
>>What's missing from the output of 'bar diff' to make it a changeset?
>
>
> What's missing is a way to import it on the other side (unless it already
> exists and I missed it).
No, patches are missing a lot of data.
Bzr changesets are not really changesets. They're compressed revisions.
Here's what really happens when you 'apply' a changeset:
1. bzr installs the revision into your branch
2. bzr gets the tree for that revision
3. bzr finds a suitable base revision
4. bzr does a merge.
So what's needed is things like file-ids, commit messages, etc.
The changeset plugin is here:
http://bzr.arbash-meinel.com/plugins/bzr-changeset/
I think it would be awesome for bzr to support patches as well, in such
a way that two people applying and committing the same patch got exactly
the same result. But that's a somewhat different story.
I'm inclined to think that bzr diff should provide a way to produce
patch-compatible output. bzr changeset does.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDHvjZ0F+nu1YWqI0RAj0fAJ4uCWC+iyY+k+d0MaJNz6VU5x2Z9QCePYkl
gP0fdXrFSXB/30An2uqi50Q=
=KGdh
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list