Bite size

Marco Trevisan marco.trevisan at canonical.com
Tue Jan 28 11:32:46 UTC 2014


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 :(




More information about the Mir-devel mailing list