Support non-interactive mode for `shelve'.

Bug #492095 reported by Oscar Fuentes
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Wishlist
Unassigned

Bug Description

It is very difficult to use `bzr shelve' from front-ends that encapsulate bazaar. If the operation supported a way to list the hunks to be shelved, things would be much easier.

For instance, the front-end presents the user with the output of `bzr diff'. The user selects the hunks to be shelved, then the front-end creates a file with contents like this:

somefile @@ -94,6 +94,12 @@
otherfile @@ -100,6 +115,12 @@

and is passed to bzr shelve:

bzr shelve -F file-with-hunk-headers

which proceeds to shelve those hunks. If some listed hunk is unknown to bazaar, it bails out.

Emacs, for instance, has all the infrastructure for doing this. It is very hard and unreliable for Emacs to use the current interactive mode of operation for `bzr shelve' though.

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

 status confirmed
 importance wishlist
 tags shelve interactive

--
Martin

Martin Pool (mbp)
Changed in bzr:
importance: Undecided → Wishlist
status: New → Confirmed
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
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.