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: Limitations of Emacs' vc when using modern backends Date: Wed, 14 Dec 2005 22:37:06 -0500 Message-ID: <87wti73ue7.fsf-monnier+emacs@gnu.org> References: <7i8xunt9ub.fsf@lanthane.pps.jussieu.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1134617924 8520 80.91.229.2 (15 Dec 2005 03:38:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 15 Dec 2005 03:38:44 +0000 (UTC) Cc: Andre Spiegel , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 15 04:38:40 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Emjvj-0003qd-D7 for ged-emacs-devel@m.gmane.org; Thu, 15 Dec 2005 04:37:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EmjwM-0004DZ-25 for ged-emacs-devel@m.gmane.org; Wed, 14 Dec 2005 22:37:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EmjwD-0004DG-S5 for emacs-devel@gnu.org; Wed, 14 Dec 2005 22:37:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EmjwC-0004D4-Cy for emacs-devel@gnu.org; Wed, 14 Dec 2005 22:37:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EmjwC-0004D1-6g for emacs-devel@gnu.org; Wed, 14 Dec 2005 22:37:48 -0500 Original-Received: from [209.226.175.54] (helo=tomts10-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EmjyL-0002d2-W2; Wed, 14 Dec 2005 22:40:02 -0500 Original-Received: from alfajor ([70.49.81.194]) by tomts10-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20051215033706.VUOE14963.tomts10-srv.bellnexxia.net@alfajor>; Wed, 14 Dec 2005 22:37:06 -0500 Original-Received: by alfajor (Postfix, from userid 1000) id 8E0D8D7377; Wed, 14 Dec 2005 22:37:06 -0500 (EST) Original-To: Juliusz Chroboczek In-Reply-To: <7i8xunt9ub.fsf@lanthane.pps.jussieu.fr> (Juliusz Chroboczek's message of "Thu, 15 Dec 2005 02:42:04 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-Originating-IP: [0] 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:47768 Archived-At: > 1. It should be possible for a backend to override vc-previous-version. > 2. vc-previous-version should take the file name in addition to the > revision. Sure. > 3. vc should call a backend-specific function (say > vc-BACKEND-canonical-revision) to normalise a revision name (again, > one that takes both a revision and a file name) before creating a > buffer. I'm not sure I understand what it's supposed to do. > (3) Darcs identifies revisions by a 65-character long hash of a bunch > of data, which is not something you want to type. Because of that, > vc-darcs allows identifying a revision by a number of different means > (see vc-darcs-rev-to-hash if you want the gory details). Is this specific to vc-darcs or to darcs? Could you show what it does concretely? Stefan