Updated shelf
Michael Ellerman
michael at ellerman.id.au
Fri May 27 11:19:52 BST 2005
Hiya,
This isn't as tested as I'd like, but I've gotta run, so here it is.
Code's been cleaned up, a bit.
UI is now much nicer. By default everything gets shelved now, you have to
specify if you want to keep a patch. This seems to match better with my
expectations.
You have options to:
- show what hunks are selected
- invert the current selection
- jump to the end, ie. accept current status for all remaining hunks
- restart the hunk loop (only from the end)
- review before you finish
Also if you restart, the default option becomes the hunks current status. So
if you realise you've selected a hunk you didn't want you can restart 'r',
whack enter (ie. take default) for all the hunks up to the one you want,
unselect it, then hit 'd' done to go to the end.
Unshelve still doesn't prompt, which I think it should.
I haven't done shelve --all yet, but you can get it with just by hitting 'd'
then 'y'.
Let me know what you think.
cheers
ps. Now uses termios to do raw input (no need to hit enter), so won't work on
Windows.
--
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: shelf.tar.bz2
Type: application/x-tbz
Size: 29847 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050527/bb4f805b/attachment.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050527/bb4f805b/attachment.pgp
More information about the bazaar
mailing list