From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: vc-update for bzr etc. Date: Mon, 22 Nov 2010 13:31:23 +0900 Message-ID: <87k4k6c738.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87y68m7kdh.fsf@stupidchicken.com> <87lj4mk2e5.fsf@stupidchicken.com> <87mxp2bd12.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1290400250 3016 80.91.229.12 (22 Nov 2010 04:30:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 22 Nov 2010 04:30:50 +0000 (UTC) Cc: Dan Nicolaescu , Chong Yidong , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 22 05:30:46 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 1PKO3B-000573-Jm for ged-emacs-devel@m.gmane.org; Mon, 22 Nov 2010 05:30:45 +0100 Original-Received: from localhost ([127.0.0.1]:33015 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKO3A-0000mh-WC for ged-emacs-devel@m.gmane.org; Sun, 21 Nov 2010 23:30:44 -0500 Original-Received: from [140.186.70.92] (port=60196 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKO36-0000mR-1J for emacs-devel@gnu.org; Sun, 21 Nov 2010 23:30:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PKO35-000716-1u for emacs-devel@gnu.org; Sun, 21 Nov 2010 23:30:39 -0500 Original-Received: from imss12.cc.tsukuba.ac.jp ([130.158.254.161]:44267) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PKO33-00070q-Id; Sun, 21 Nov 2010 23:30:37 -0500 Original-Received: from imss12.cc.tsukuba.ac.jp (imss12.cc.tsukuba.ac.jp [127.0.0.1]) by postfix.imss71 (Postfix) with ESMTP id 624A32AF543; Mon, 22 Nov 2010 13:30:36 +0900 (JST) Original-Received: from mgmt1.sk.tsukuba.ac.jp (unknown [130.158.97.223]) by imss12.cc.tsukuba.ac.jp (Postfix) with ESMTP id 53C8C2AF542; Mon, 22 Nov 2010 13:30:36 +0900 (JST) Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mgmt1.sk.tsukuba.ac.jp (Postfix) with ESMTP id 4F8F83FA04D9; Mon, 22 Nov 2010 13:30:36 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id 1A24C1A3FC7; Mon, 22 Nov 2010 13:31:23 +0900 (JST) In-Reply-To: X-Mailer: VM undefined under 21.5 (beta29) "garbanzo" ed3b274cc037 XEmacs Lucid (x86_64-unknown-linux) X-detected-operating-system: by eggs.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:132990 Archived-At: Stefan Monnier writes: > VC tries to present a uniform UI and that is good, but trying to impose > a uniform semantics to all commands is asking too much. So I think it's > perfectly OK for vc-pull/update to do "bzr pull" for Bzr and > "git pull" for Git, even if they don't do exactly the same thing. bzr pull -- synchronize branch to parent exactly, never does a non-trivial merge, sometimes operates on a non-local branch and not on the workspace IIRC. git pull -- merges branch into workspace, commits unless conflict, never affects a branch outside of the workspace. hg pull -- fetches branch, never updates workspace or affects a branch outside of the workspace. I don't see the point of having a single command whose implementation can vary so randomly. That's not a uniform UI, that's a nondeterministic one. I agree that perfectly uniform semantics is not really possible, of course.