How to get the diff between two arbitrary remote revisions?

Aaron Bentley aaron.bentley at utoronto.ca
Fri Nov 18 21:02:46 GMT 2005


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

Jan Hudec wrote:
> On Fri, Nov 18, 2005 at 11:44:16 -0500, Aaron Bentley wrote:

>>But if all it has is a hash, it's pretty hard to find what you want, anyhow.
> 
> 
> It's equally hard in bzr!

I'd consider revnos easier to deal with than hashes.

>>Well, depends what we do.  Personally, I'd like a way to do
>>branch-and-checkout in one step.
> 
> 
> So do I. But since it's supposed to be a micro-branch, not copying the
> history

We certainly will not be copying history when branching within a
repository, except the revision-history itself.

> The bzr branches mostly do that, except they require naming branches before
> you can commit to them. Therefore I suggest following options to commands:
> 
> # Let's say there are 1359 revisions on /repository/some/branch:
> bzr checkout -r 1234 /repository/some/branch
> <hack, hack, hack>
> bzr commit -b /repository/new/branch

I'd rather see the -b flag on checkout, but nothing's set in stone yet.

> That way all branches would be named, which is good for general sanity, while
> microbranches would be reasonably cheap.

That's the goal.

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

iD8DBQFDfkF20F+nu1YWqI0RAndgAJwKKH3Oaq2tMKORhun6GR6/rGXFVACcDuXC
C5W0l4G2tE4OoTpMKMHPFGE=
=TNNW
-----END PGP SIGNATURE-----




More information about the bazaar mailing list