Option for not removing shelve after `unshelve'
Bug #492091 reported by
Oscar Fuentes
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Medium
|
Martin Pool |
Bug Description
Sometimes it is useful to not remove the shelve after `bzr unshelve'.
git supports this with `git stash apply'.
Say you have something shelved.
You want to try to refine the change, unshelve it and continue working
on it. If you realize that what you had before was better, there's no easy way to go back.
Or if you want to split a change:
shelve
apply
remove the part you don't want
shelve the partial change
unshelve the original
remove some other part
shelve again
I suggest `bzr unshelve --keep' or `bzr unshelve --apply'.
Related branches
lp:~mbp/bzr/492091-unshelve-keep
- John A Meinel: Approve
-
Diff: 109 lines (+36/-4)5 files modifiedNEWS (+3/-0)
bzrlib/builtins.py (+2/-1)
bzrlib/shelf_ui.py (+4/-1)
bzrlib/tests/blackbox/test_shelve.py (+24/-1)
bzrlib/tests/script.py (+3/-1)
Changed in bzr: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
To post a comment you must log in.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
status confirmed
importance wishlist
tags shelve
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAks YWrsACgkQPGPKP6 Cz6IuTDACgxxdtc RVtuar1CUSFcYYw LOn+ ukBAUMHh/ 3EJhsgxQ
aLIAn3cZh9mLBgH
=Y1Rp
-----END PGP SIGNATURE-----