How to get the diff between two arbitrary remote revisions?
Martin Pool
mbp at sourcefrog.net
Sun Nov 20 22:23:42 GMT 2005
On 18 Nov 2005, Jan Hudec <bulb at ucw.cz> wrote:
> > > 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"
So this 'commit -b' would be similar in effect to copying the directory
to a new name, and committing in the new copy?
There is a workwhile use case of someone doing some work and then
deciding that it ought to be on another branch, possibly a newly created
branch. Baz accomodates this with the switch command.
--
Martin
-------------- 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/20051121/5c8c0af5/attachment.pgp
More information about the bazaar
mailing list