[Extension] Dirty hack of 'shelve' and 'unshelve' command
Michael Ellerman
michael+bazaar at ellerman.id.au
Wed May 25 16:17:12 BST 2005
Hey again,
Here's a couple of patches that add an option to diff "--hunks" which is more
aggresive about splitting hunks. It basically just allows context to overlap,
so if your changes have 3 lines between them they'll be split.
Any finer granularity is best achieved by allowing hunks to be edited, I
think. So I'm not sure this patch is really worth the trouble, but here it is
anyway for people to try.
There's two patches against bzr, one just imports difflib.py, the second hacks
it and bzr to do the --hunks stuff.
The third patch is trivial against shelf.py to add use of the --hunk option.
night!
--
Michael Ellerman
IBM OzLabs
email: michael:ellerman.id.au
inmsg: mpe:jabber.org
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)
We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: add-difflib-and-diff-hunk-support.patch
Type: text/x-diff
Size: 4594 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050526/2a154da4/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: import-python-2-4-difflib.patch
Type: text/x-diff
Size: 81482 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050526/2a154da4/attachment-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shelf-add-support-for-hunks-option.patch
Type: text/x-diff
Size: 292 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050526/2a154da4/attachment-0002.bin
More information about the bazaar
mailing list