How to get the diff between two arbitrary remote revisions?

Jan Hudec bulb at ucw.cz
Fri Nov 18 21:42:55 GMT 2005


On Fri, Nov 18, 2005 at 16:02:46 -0500, Aaron Bentley wrote:
> -----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.

Mercurial DOES have revnos. That's not the point. The point is it does not
have a name, at least not any that someone explicitly gave it.

> >>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.

Yes. But a branch in a repository does not have a checkout, so I have to add
that.

> > 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.

I may not want to commit to it, in which case I shouldn't need to name it.
And later I may realize I do want to commit to it after all, so I think the
flag should be available on commit. It can be available on checkout as well.

Of course if I did not give -b to checkout and don't give it to commit
either, it should complain about "Branch needs to be named. Use -b option"

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

Glad to hear that ;-).

-- 
						 Jan 'Bulb' Hudec <bulb at ucw.cz>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20051118/6b8c789c/attachment.pgp 


More information about the bazaar mailing list