Support non-interactive mode for `shelve'.

Bug #492095 reported by Oscar Fuentes on 2009-12-03
This bug affects 1 person
Affects Status Importance Assigned to Milestone

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.

Martin Pool (mbp) wrote :

 status confirmed
 importance wishlist
 tags shelve interactive


Martin Pool (mbp) on 2009-12-04
Changed in bzr:
importance: Undecided → Wishlist
status: New → Confirmed
Jelmer Vernooij (jelmer) on 2017-11-09
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers