From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: vc-update for bzr etc. Date: Sun, 21 Nov 2010 14:34:41 -0500 Message-ID: <87eiaeqxm6.fsf@stupidchicken.com> References: <87y68m7kdh.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1290368304 16889 80.91.229.12 (21 Nov 2010 19:38:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 21 Nov 2010 19:38:24 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 21 20:38:15 2010 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.69) (envelope-from ) id 1PKFjq-0003kI-R0 for ged-emacs-devel@m.gmane.org; Sun, 21 Nov 2010 20:38:14 +0100 Original-Received: from localhost ([127.0.0.1]:34520 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKFgm-0006ia-UQ for ged-emacs-devel@m.gmane.org; Sun, 21 Nov 2010 14:35:04 -0500 Original-Received: from [140.186.70.92] (port=42662 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKFgS-0006az-D0 for emacs-devel@gnu.org; Sun, 21 Nov 2010 14:34:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PKFgQ-0004Z5-Ni for emacs-devel@gnu.org; Sun, 21 Nov 2010 14:34:43 -0500 Original-Received: from pantheon-po16.its.yale.edu ([130.132.50.72]:34331) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PKFgQ-0004Yh-Ki for emacs-devel@gnu.org; Sun, 21 Nov 2010 14:34:42 -0500 Original-Received: from furball (dhcp128036226124.central.yale.edu [128.36.226.124]) (authenticated bits=0) by pantheon-po16.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id oALJYfN3025417 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 21 Nov 2010 14:34:41 -0500 Original-Received: by furball (Postfix, from userid 1000) id 3EB8B160EBC; Sun, 21 Nov 2010 14:34:41 -0500 (EST) In-Reply-To: (Stefan Monnier's message of "Sun, 21 Nov 2010 14:03:42 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 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:132979 Archived-At: Stefan Monnier writes: > Better to just use the new backend function if present and fallback (or > provide a default implementation that delegates) to the old > backend function. OK, sounds reasonable. >> + "Update the current Bzr repository." > > I have no idea what "Update the current Bzr repository" means. > >> + (vc-bzr-command "update" t 'async nil)))) > > This will not do what it says in non-bound branches. So the full functionality for Bzr should be something like this: - If it's a bound branch, do bzr update. - Otherwise, if there is a default pull location, prompt for a location and do "bzr merge --pull". - Otherwise, just do "bzr merge --pull" to use the default location. Does this sound right?