From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: vc-update for bzr etc. Date: Sun, 21 Nov 2010 14:03:42 -0500 Message-ID: References: <87y68m7kdh.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1290366234 7527 80.91.229.12 (21 Nov 2010 19:03:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 21 Nov 2010 19:03:54 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 21 20:03:50 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 1PKFCY-0007oP-3q for ged-emacs-devel@m.gmane.org; Sun, 21 Nov 2010 20:03:50 +0100 Original-Received: from localhost ([127.0.0.1]:46525 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKFCX-0001Er-Pd for ged-emacs-devel@m.gmane.org; Sun, 21 Nov 2010 14:03:49 -0500 Original-Received: from [140.186.70.92] (port=59785 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKFCT-0001EV-18 for emacs-devel@gnu.org; Sun, 21 Nov 2010 14:03:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PKFCR-0008Dg-OH for emacs-devel@gnu.org; Sun, 21 Nov 2010 14:03:44 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:11554 helo=ironport2-out.pppoe.ca) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PKFCR-0008Dc-Kj for emacs-devel@gnu.org; Sun, 21 Nov 2010 14:03:43 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: An4HAO/76ExMCqtq/2dsb2JhbAChW31yvBCFSwSEWo1p X-IronPort-AV: E=Sophos;i="4.59,232,1288584000"; d="scan'208";a="83142280" Original-Received: from 76-10-171-106.dsl.teksavvy.com (HELO ceviche.home) ([76.10.171.106]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 21 Nov 2010 14:03:42 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id CBCC9660F5; Sun, 21 Nov 2010 14:03:42 -0500 (EST) In-Reply-To: <87y68m7kdh.fsf@stupidchicken.com> (Chong Yidong's message of "Sun, 21 Nov 2010 10:43:22 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:132978 Archived-At: > Thoughts? Any subtleties here that I'm missing? Here are some thoughts: > Here's a quick stab at this. If a backend defines vc-BACK-merge-news > (svn and cvs), vc-update tries a per-file update unless a prefix > argument is supplied. Otherwise, it tries vc-BACK-update-repository, a > new VC backend function. Included is an implementation for bzr, Better to just use the new backend function if present and fallback (or provide a default implementation that delegates) to the old backend function. > + "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. Stefan