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: moving SCCS later in vc-handled-backends Date: Tue, 23 Jun 2009 23:52:32 -0700 (PDT) Message-ID: <200906240652.n5O6qWAh026050@godzilla.ics.uci.edu> References: <200906230701.n5N71kIi007475@godzilla.ics.uci.edu> <877hz3z6z0.fsf@uwakimon.sk.tsukuba.ac.jp> <874ou7m4dj.fsf@stupidchicken.com> <87zlbyyelm.fsf@uwakimon.sk.tsukuba.ac.jp> <200906231909.n5NJ9Jsw016825@godzilla.ics.uci.edu> <87y6rixjcs.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1245826532 31537 80.91.229.12 (24 Jun 2009 06:55:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Jun 2009 06:55:32 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 24 08:55:25 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 1MJMOC-00081H-2p for ged-emacs-devel@m.gmane.org; Wed, 24 Jun 2009 08:55:24 +0200 Original-Received: from localhost ([127.0.0.1]:46475 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJMOB-0003Jj-99 for ged-emacs-devel@m.gmane.org; Wed, 24 Jun 2009 02:55:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MJMO5-0003Im-Vx for emacs-devel@gnu.org; Wed, 24 Jun 2009 02:55:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MJMO1-0003Go-Li for emacs-devel@gnu.org; Wed, 24 Jun 2009 02:55:17 -0400 Original-Received: from [199.232.76.173] (port=36209 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJMO1-0003Gl-J1 for emacs-devel@gnu.org; Wed, 24 Jun 2009 02:55:13 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:53590) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MJMO1-0004PN-0P for emacs-devel@gnu.org; Wed, 24 Jun 2009 02:55:13 -0400 Original-Received: from sallyv2.ics.uci.edu ([128.195.1.120]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MJMMX-0007LU-Rb for emacs-devel@gnu.org; Wed, 24 Jun 2009 02:53:42 -0400 Original-Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by sallyv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n5O6qXk2028588; Tue, 23 Jun 2009 23:52:33 -0700 (PDT) Original-Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n5O6qWAh026050; Tue, 23 Jun 2009 23:52:32 -0700 (PDT) In-Reply-To: <87y6rixjcs.fsf@uwakimon.sk.tsukuba.ac.jp> (Stephen J. Turnbull's message of "Wed, 24 Jun 2009 14:59:31 +0900") Original-Lines: 34 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n5O6qXk2028588 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu X-Detected-Operating-System: by mx20.gnu.org: Solaris 10 (beta) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:111679 Archived-At: "Stephen J. Turnbull" writes: > Dan Nicolaescu writes: > > > Can you please give some more details here? > > I just read the docs, which claim there is a good reason for file- > oriented VCSes to come first. If the docs are wrong, they should be > fixed. > > As far as I know this has always been rare. The whole idea is quite > possibly obsolete according to what you say about the actual behavior > of vc, but if anybody still cares the change you're suggesting will be > a subtle change in behavior that will be intermittent and possibly > hard to diagnose. I've found that it's almost always better to change > DWIM to "do nothing" as opposed to "do what somebody else means". Why intermittent? It's quite deterministic, and it matters if and only if the same file is registered by SCCS and another backend. SCCS by itself is rare, using both SCCS and another VCS on the same file gotta be even less frequent. > > An example would be even better. > > vc does not decide a file is controlled by some VCS just based on the > > presence of a directory, it actually tries to see if that file is > > controlled by that VCS. > > The ordering matters when the same file is controlled by multiple VCS, > > vc will choose the first one in vc-handled-backends. > > AFAIK it will also do this if it's controlled by no backend, too. True, but in that case the order of search is irrelevant the same result if obtained all the time: no backend claims to be responsible.