Option for not removing shelve after `unshelve'

Bug #492091 reported by Oscar Fuentes
8
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

Revision history for this message
Martin Pool (mbp) wrote :

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

  status confirmed
  importance wishlist
  tags shelve
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAksYWrsACgkQPGPKP6Cz6IuTDACgxxdtcRVtuar1CUSFcYYwLOn+
aLIAn3cZh9mLBgHukBAUMHh/3EJhsgxQ
=Y1Rp
-----END PGP SIGNATURE-----

Martin Pool (mbp)
Changed in bzr:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Martin Pool (mbp) wrote :

Upgrading because it is apparently a hot point for emacs.

Changed in bzr:
importance: Wishlist → Medium
tags: added: affects-emacs shelve
Changed in bzr:
status: Confirmed → In Progress
assignee: nobody → Martin Pool (mbp)
Revision history for this message
Martin Pool (mbp) wrote :

btw --apply already exists and means the default behaviour of 'apply and delete'.

Revision history for this message
John A Meinel (jameinel) wrote :

Martin implement 'bzr unshelve --keep'

Changed in bzr:
milestone: none → 2.1.0b4
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.