On Tue, 2014-01-28 at 12:32 +0100, Marco Trevisan wrote:
> Il giorno mar, 28/01/2014 alle 14.47 +0800, Daniel van Vugt ha scritto:
> >    1. Create a diff: bzr diff --old :parent > ~/bigone.diff
> >    2. Create a new branch and reapply the changes:  patch -p0 < 
> > ~/bigone.diff
> >    3. Identify changes to drop: bzr status or bzr diff
> >    4. Drop them: bzr revert path/to/files
> 
> Instead of doing this manually, line per line, I think that bzr
> (q)shelve can be very useful to stash chunks of sub-file changes in a
> quicker way... BTW I wish we had something like bzr add --patch :(

Isn't “bzr shelve” the (almost exact¹) dual of what “bzr add --patch”
would be?

¹: The thing that I miss from git add -p is the ability to split hunks
of diff. This shouldn't actually be hugely difficult, but I've never got
around to fixing it.

Attachment: signature.asc
Description: This is a digitally signed message part

-- 
Mir-devel mailing list
Mir-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/mir-devel

Reply via email to