From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: support for bzr shelve/unshelve in vc-dir Date: Thu, 03 Dec 2009 09:25:21 +0100 Message-ID: <87k4x431n2.fsf@telefonica.net> References: <200912011947.nB1JlaAp027561@godzilla.ics.uci.edu> <200912030748.nB37m5V4022253@godzilla.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1259828770 30973 80.91.229.12 (3 Dec 2009 08:26:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Dec 2009 08:26:10 +0000 (UTC) Cc: Dan Nicolaescu To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 03 09:26:02 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NG70g-0005HG-Hk for ged-emacs-devel@m.gmane.org; Thu, 03 Dec 2009 09:25:59 +0100 Original-Received: from localhost ([127.0.0.1]:44739 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NG70g-0004RU-5t for ged-emacs-devel@m.gmane.org; Thu, 03 Dec 2009 03:25:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NG70a-0004P1-BT for emacs-devel@gnu.org; Thu, 03 Dec 2009 03:25:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NG70V-0004F7-GF for emacs-devel@gnu.org; Thu, 03 Dec 2009 03:25:51 -0500 Original-Received: from [199.232.76.173] (port=44574 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NG70V-0004El-8q for emacs-devel@gnu.org; Thu, 03 Dec 2009 03:25:47 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:60744) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NG70U-0002j9-TA for emacs-devel@gnu.org; Thu, 03 Dec 2009 03:25:47 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1NG70S-0005BU-HG for emacs-devel@gnu.org; Thu, 03 Dec 2009 09:25:44 +0100 Original-Received: from 112.red-83-38-73.dynamicip.rima-tde.net ([83.38.73.112]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Dec 2009 09:25:44 +0100 Original-Received: from ofv by 112.red-83-38-73.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 03 Dec 2009 09:25:44 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 112.red-83-38-73.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:OGdW7Jpd08H1xT9SCHoK32VrBhA= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:118169 Archived-At: Dan Nicolaescu writes: > > > Are the bzr shelve/unshelve commands popular? Do we want > > > something similar to the vc-dir support for "git stash" for bzr > > > shelve/unshelve? > > > > That would be welcome, yes. > > Done. The implementation shelves all the changes on the current branch. Although this is useful, an usual application of `shelve' is for temporarily removing out of your way some changes (allowing to commit only specific changes of the edited files, for example.) An ideal implementation of `shelve' for vc would show the output of `bzr diff', mark the hunks you want to shelve, and then run the command. Sadly, it seems impossible to non-interactively indicate to bzr which hunks it should shelve. > I couldn't find a way to display the content of a shelf, so support for > that is missing. As mentioned on a previous message, `bzr shelf1 list' should do what you need. It is from bzrtools, which is a popular plugin. However, the command either is broken or I don't know how to use it. I'll ask on the bazaar ml. -- Óscar