From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: support for bzr shelve/unshelve in vc-dir Date: Thu, 3 Dec 2009 01:07:08 -0800 (PST) Message-ID: <200912030907.nB39781X022853@godzilla.ics.uci.edu> References: <200912011947.nB1JlaAp027561@godzilla.ics.uci.edu> <200912030748.nB37m5V4022253@godzilla.ics.uci.edu> <87k4x431n2.fsf@telefonica.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1259831346 12101 80.91.229.12 (3 Dec 2009 09:09:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Dec 2009 09:09:06 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?utf-8?Q?=C3=93scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 03 10:08:59 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 1NG7gG-0003dD-Rj for ged-emacs-devel@m.gmane.org; Thu, 03 Dec 2009 10:08:57 +0100 Original-Received: from localhost ([127.0.0.1]:52726 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NG7gG-0008OW-Em for ged-emacs-devel@m.gmane.org; Thu, 03 Dec 2009 04:08:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NG7gA-0008Mj-Um for emacs-devel@gnu.org; Thu, 03 Dec 2009 04:08:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NG7g6-0008Hz-3o for emacs-devel@gnu.org; Thu, 03 Dec 2009 04:08:50 -0500 Original-Received: from [199.232.76.173] (port=40941 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NG7g6-0008Hh-0q for emacs-devel@gnu.org; Thu, 03 Dec 2009 04:08:46 -0500 Original-Received: from colin-baker-v0.ics.uci.edu ([128.195.1.153]:40766) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NG7g5-0006qm-Ix for emacs-devel@gnu.org; Thu, 03 Dec 2009 04:08:45 -0500 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by colin-baker-v0.ics.uci.edu (8.13.8/8.13.8) with ESMTP id nB3978Ys023116 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Dec 2009 01:07:08 -0800 Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id nB39781X022853; Thu, 3 Dec 2009 01:07:08 -0800 (PST) In-Reply-To: <87k4x431n2.fsf@telefonica.net> (=?utf-8?Q?=22=C3=93scar?= Fuentes"'s message of "Thu, 03 Dec 2009 09:25:21 +0100") Original-Lines: 34 X-ICS-MailScanner-Information: Please send mail to helpdesk@ics.uci.edu or more information X-ICS-MailScanner-ID: nB3978Ys023116 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-1.363, required 5, autolearn=disabled, ALL_TRUSTED -1.44, TW_BZ 0.08) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu 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:118171 Archived-At: =C3=93scar Fuentes writes: > Dan Nicolaescu writes: >=20 > > > > Are the bzr shelve/unshelve commands popular? Do we want > > > > something similar to the vc-dir support for "git stash" for bzr > > > > shelve/unshelve? > > >=20 > > > That would be welcome, yes. > > > > Done. >=20 > 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. That's exactly the reason for the current implementation. Patches to add other methods to create shelves (including an interactive) are surely welcome. > > I couldn't find a way to display the content of a shelf, so support f= or > > that is missing. >=20 > 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. bzr shelf1 list doesn't even show shelves created with bzr shelve...