From unknown Fri Aug 08 22:52:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#18514: 24.3; vc-dir sometimes guesses the wrong backend Resent-From: barry@python.org (Barry A. Warsaw) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Sep 2014 22:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 18514 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 18514@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.14112529192369 (code B ref -1); Sat, 20 Sep 2014 22:42:02 +0000 Received: (at submit) by debbugs.gnu.org; 20 Sep 2014 22:41:59 +0000 Received: from localhost ([127.0.0.1]:46884 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XVTLq-0000c8-MQ for submit@debbugs.gnu.org; Sat, 20 Sep 2014 18:41:59 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51077) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XVTLm-0000bv-Ac for submit@debbugs.gnu.org; Sat, 20 Sep 2014 18:41:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XVTLg-0001Td-3X for submit@debbugs.gnu.org; Sat, 20 Sep 2014 18:41:54 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:44583) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVTLg-0001TI-0H for submit@debbugs.gnu.org; Sat, 20 Sep 2014 18:41:48 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVTLV-0005r5-Gq for bug-gnu-emacs@gnu.org; Sat, 20 Sep 2014 18:41:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XVTLQ-0001ST-DU for bug-gnu-emacs@gnu.org; Sat, 20 Sep 2014 18:41:37 -0400 Received: from mail.wooz.org ([216.15.33.194]:49080) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVTLQ-0001QC-7H for bug-gnu-emacs@gnu.org; Sat, 20 Sep 2014 18:41:32 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.wooz.org (Postfix) with ESMTP id B8C3A10803AB for ; Sat, 20 Sep 2014 18:41:19 -0400 (EDT) Received: from mail.wooz.org ([127.0.0.1]) by localhost (carnies.wooz.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DbsZ7g2-ahQz for ; Sat, 20 Sep 2014 18:41:14 -0400 (EDT) Received: from anarchist.wooz.org (anarchist.wooz.org [192.168.11.111]) by mail.wooz.org (Postfix) with ESMTPS id A1E2510801F6 for ; Sat, 20 Sep 2014 18:41:14 -0400 (EDT) From: barry@python.org (Barry A. Warsaw) Date: Sat, 20 Sep 2014 18:41:11 -0400 Message-ID: <87sijlj4oo.fsf@anarchist.wooz.org> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) vc-dir sometimes guesses the wrong backend. Here's a reproducible example. $ cd /tmp $ bzr init bzrinit $ bzr init-repo bzrinitrepo $ git init bzrinit/gitme $ git init bzrinitrepo/gitme M-x vc-dir RET /tmp/bzrinit/gitme M-x vc-dir RET /tmp/bzrinitrepo/gitme vc-dir chooses Bzr as the backend for /tmp/bzrinit/gitme but git as the backend for /tmp/bzrinitrepo/gitme. In both cases, git should have been chosen. In GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.9) of 2014-06-06 on brownie, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11600000 System Description: Ubuntu Utopic Unicorn (development branch) Configured using: `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/site-lisp:/usr/share/emacs/site-lisp' '--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes' '--with-x-toolkit=gtk3' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LC_COLLATE: en_US.UTF-8 value of $LC_CTYPE: en_US.UTF-8 value of $LC_MESSAGES: en_US.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: VC dir Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent input: x v c - d i r b z r i n i / g i x v c - d i r r e g i t m e x r e p o r t - e m Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. You can run the command `vc-dir' with C-x v d error in process sentinel: vc-dir-update: Wrong type argument: arrayp, nil error in process sentinel: Wrong type argument: arrayp, nil You can run the command `vc-dir' with C-x v d Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils vc-git vc-bzr vc-sccs vc-svn vc-cvs vc-rcs vc-dir ewoc vc vc-dispatcher time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) From unknown Fri Aug 08 22:52:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#18514: 24.3; vc-dir sometimes guesses the wrong backend Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Sep 2014 21:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18514 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: barry@python.org (Barry A. Warsaw) Cc: 18514@debbugs.gnu.org Received: via spool by 18514-submit@debbugs.gnu.org id=B18514.14113348885706 (code B ref 18514); Sun, 21 Sep 2014 21:29:02 +0000 Received: (at 18514) by debbugs.gnu.org; 21 Sep 2014 21:28:08 +0000 Received: from localhost ([127.0.0.1]:47736 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XVofw-0001Ty-Bo for submit@debbugs.gnu.org; Sun, 21 Sep 2014 17:28:08 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:41977) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XVoft-0001Tq-Kz for 18514@debbugs.gnu.org; Sun, 21 Sep 2014 17:28:06 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1XVofs-00073Q-NS; Sun, 21 Sep 2014 17:28:04 -0400 From: Glenn Morris References: <87sijlj4oo.fsf@anarchist.wooz.org> X-Spook: Skipjack corporate security South Africa Hamas Aladdin X-Ran: 4$ZyP-c-VK9=N]=x`;-Rj*HNg<}`?GQ->M])^xI'A3{l3vUvK>ERX*r4RT:iU2d~M:ct9? X-Hue: blue X-Attribution: GM Date: Sun, 21 Sep 2014 17:28:04 -0400 In-Reply-To: <87sijlj4oo.fsf@anarchist.wooz.org> (Barry A. Warsaw's message of "Sat, 20 Sep 2014 18:41:11 -0400") Message-ID: <0goau84qaj.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.8 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.8 (-----) Barry A. Warsaw wrote: > vc-dir sometimes guesses the wrong backend. Here's a reproducible > example. > > $ cd /tmp > $ bzr init bzrinit > $ bzr init-repo bzrinitrepo > $ git init bzrinit/gitme > $ git init bzrinitrepo/gitme > > M-x vc-dir RET /tmp/bzrinit/gitme > M-x vc-dir RET /tmp/bzrinitrepo/gitme > > vc-dir chooses Bzr as the backend for /tmp/bzrinit/gitme but git as the > backend for /tmp/bzrinitrepo/gitme. In both cases, git should have been > chosen. This is http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8179 (et al) again. vc currently loops over backends, then the directory tree. That needs to be reversed, but no-one has gotten round to it. (For your specific example, you can reorder vc-handled-backends.) From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 21 17:28:41 2014 Received: (at control) by debbugs.gnu.org; 21 Sep 2014 21:28:41 +0000 Received: from localhost ([127.0.0.1]:47739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XVogS-0001Ul-Ox for submit@debbugs.gnu.org; Sun, 21 Sep 2014 17:28:41 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:41992) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XVogP-0001Uc-UL for control@debbugs.gnu.org; Sun, 21 Sep 2014 17:28:38 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1XVogP-0000C9-Nr for control@debbugs.gnu.org; Sun, 21 Sep 2014 17:28:37 -0400 Date: Sun, 21 Sep 2014 17:28:37 -0400 Message-Id: Subject: control message for bug 18514 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.8 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.8 (-----) forcemerge 8179 18514 From unknown Fri Aug 08 22:52:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#18514: 24.3; vc-dir sometimes guesses the wrong backend Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Sep 2014 21:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18514 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: barry@python.org (Barry A. Warsaw) Cc: 18514@debbugs.gnu.org Received: via spool by 18514-submit@debbugs.gnu.org id=B18514.141133612812539 (code B ref 18514); Sun, 21 Sep 2014 21:49:02 +0000 Received: (at 18514) by debbugs.gnu.org; 21 Sep 2014 21:48:48 +0000 Received: from localhost ([127.0.0.1]:47754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XVozw-0003G9-31 for submit@debbugs.gnu.org; Sun, 21 Sep 2014 17:48:48 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:26712) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XVozt-0003Fy-7b for 18514@debbugs.gnu.org; Sun, 21 Sep 2014 17:48:46 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArQGAIDvNVNFpZEG/2dsb2JhbABZgwaDSsA9gRcXdIImAQEEViMQCzQSFBgNiDDSGReOegeEOAEDlGKUN4Fqg0wh X-IPAS-Result: ArQGAIDvNVNFpZEG/2dsb2JhbABZgwaDSsA9gRcXdIImAQEEViMQCzQSFBgNiDDSGReOegeEOAEDlGKUN4Fqg0wh X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="90495696" Received: from 69-165-145-6.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([69.165.145.6]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 21 Sep 2014 17:48:44 -0400 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 107E5AE80E; Sun, 21 Sep 2014 17:48:44 -0400 (EDT) From: Stefan Monnier Message-ID: References: <87sijlj4oo.fsf@anarchist.wooz.org> Date: Sun, 21 Sep 2014 17:48:44 -0400 In-Reply-To: <87sijlj4oo.fsf@anarchist.wooz.org> (Barry A. Warsaw's message of "Sat, 20 Sep 2014 18:41:11 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > $ cd /tmp > $ bzr init bzrinit > $ bzr init-repo bzrinitrepo > $ git init bzrinit/gitme > $ git init bzrinitrepo/gitme You can skip the "bzr init-repo bzrinitrepo" part since it doesn't make any difference. The problem is known: the two loops (the one that cycles through the VCS backends and the one that cycles through the various parent directories) are not nested in the right order. Patch welcome. In the mean: don't nest projects in each other if they use the same backend. Or try to make sure the inner VCS always comes before the outer one in vc-handled-backends. Stefan From unknown Fri Aug 08 22:52:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#18514: 24.3; vc-dir sometimes guesses the wrong backend Resent-From: Barry Warsaw Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Sep 2014 22:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18514 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 18514@debbugs.gnu.org Received: via spool by 18514-submit@debbugs.gnu.org id=B18514.141133690618481 (code B ref 18514); Sun, 21 Sep 2014 22:02:02 +0000 Received: (at 18514) by debbugs.gnu.org; 21 Sep 2014 22:01:46 +0000 Received: from localhost ([127.0.0.1]:47761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XVpCP-0004nw-6r for submit@debbugs.gnu.org; Sun, 21 Sep 2014 18:01:46 -0400 Received: from mail.wooz.org ([216.15.33.194]:56557) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XVpCJ-0004ni-5A for 18514@debbugs.gnu.org; Sun, 21 Sep 2014 18:01:40 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.wooz.org (Postfix) with ESMTP id 3F15C1080358; Sun, 21 Sep 2014 18:01:34 -0400 (EDT) Received: from mail.wooz.org ([127.0.0.1]) by localhost (carnies.wooz.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ehvDzkNdea8p; Sun, 21 Sep 2014 18:01:25 -0400 (EDT) Received: from anarchist.wooz.org (anarchist.wooz.org [192.168.11.111]) by mail.wooz.org (Postfix) with ESMTPSA id C03B5108059E; Sun, 21 Sep 2014 18:00:54 -0400 (EDT) Date: Sun, 21 Sep 2014 18:00:53 -0400 From: Barry Warsaw Message-ID: <20140921180053.7d6677c8@anarchist.wooz.org> In-Reply-To: References: <87sijlj4oo.fsf@anarchist.wooz.org> Organization: Damn Crazy Followers of the Horn X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.24; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; boundary="Sig_/3sYNTSF39zRiF+KUdLBg0k6"; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) --Sig_/3sYNTSF39zRiF+KUdLBg0k6 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sep 21, 2014, at 05:48 PM, Stefan Monnier wrote: >You can skip the "bzr init-repo bzrinitrepo" part since it doesn't make >any difference. Right, that was just for illustration. I had spoken to someone who thought that maybe vc-dir wasn't handling bzr shared repo directories correctly. >Patch welcome. In the mean: don't nest projects in each other if they >use the same backend. That won't be possible for me, since my $HOME is under bzr, and project subdirs under that are of various vcses (including bzr, git, hg, and svn). >Or try to make sure the inner VCS always comes before the outer one in >vc-handled-backends. Is it possible to force vc-dir to use a specific vcs on invocation, or to change vc-dir's backend after the fact? If this bugs me enough, I'll take a crack at a workaround/fix. --Sig_/3sYNTSF39zRiF+KUdLBg0k6 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCAAGBQJUH0qVAAoJEBJutWOnSwa/guMQAJGtwrGJpFPKVM3Xzqa+sH5P yDia/dEYp8wxkZmOQoB+WB9yMG7aNzKIN/5zuMIGtC9foWVZIONu456U7FB/5FkS WfOP82HjmM65TXWEvHY42L0HTou+nzyPh21h/nbABcPq2kbqrzsgpK85SszcGAYs aW3LdT9Z/0YfDJZbgIoVrURBjv4niBdOENKlQwErHSmBGqY1yYq5aPh3IFDFs1F3 ZctPxOhzFir7xAsOKCE9XMONreBGp81l+S24xZmSIMqoLTd6XNiSX5weV4/I+4y/ YtqFMEsbCsvokt3kymd5vQq91RS8/+QCOhD/gktsvIjKSWtizo0XzTMJrbZ04xWI hyQQqBSuhIyM/jjyFHZ88hiblLKrRPgnXswnVF+rmiLSsZbmBOndh4TjCo4qtmP7 PQWHfAmEJS6wdAUPQOr1WUdkPDDKmf37my+Z7m7xNZ2dSDY7n5p7lFXi42FLoD1u Yv+7MEw+bXp1X8sv+FbtWYw8cQck7ev1FZHSeuFTeuM86Pj5J40TbBsInyF7Cg6r fhid4Saw/gSCvDN/SvH1cLDWG5d/yVWuyIFOp2ll5M4HrnF9dZxiZq5toUEt1VJv XBIQViSV/D4ZiVm3IiRwLjEb72V9p8RtLMX9lFx/cb9S1bRWOtuvWwkP3iYQ50J3 fe4/8r+hf8VqeA+g5a3H =QNr/ -----END PGP SIGNATURE----- --Sig_/3sYNTSF39zRiF+KUdLBg0k6-- From unknown Fri Aug 08 22:52:58 2025 X-Loop: help-debbugs@gnu.org Subject: bug#18514: 24.3; vc-dir sometimes guesses the wrong backend Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Sep 2014 00:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18514 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Barry Warsaw Cc: 18514@debbugs.gnu.org Received: via spool by 18514-submit@debbugs.gnu.org id=B18514.14113467791061 (code B ref 18514); Mon, 22 Sep 2014 00:47:02 +0000 Received: (at 18514) by debbugs.gnu.org; 22 Sep 2014 00:46:19 +0000 Received: from localhost ([127.0.0.1]:47811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XVrlh-0000H2-TC for submit@debbugs.gnu.org; Sun, 21 Sep 2014 20:46:18 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:33582) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XVrld-0000Gr-Rc for 18514@debbugs.gnu.org; Sun, 21 Sep 2014 20:46:15 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArUGAIDvNVNFpZEG/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCws0EhQYDSSIBAjSGReOegeEOASpGYFqg0wh X-IPAS-Result: ArUGAIDvNVNFpZEG/2dsb2JhbABZgwaDSsA9gRcXdIIlAQEBAQIBViMFCws0EhQYDSSIBAjSGReOegeEOASpGYFqg0wh X-IronPort-AV: E=Sophos;i="4.97,753,1389762000"; d="scan'208";a="90502542" Received: from 69-165-145-6.dsl.teksavvy.com (HELO pastel.home) ([69.165.145.6]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 21 Sep 2014 20:46:12 -0400 Received: by pastel.home (Postfix, from userid 20848) id 91CB761782; Sun, 21 Sep 2014 20:46:12 -0400 (EDT) From: Stefan Monnier Message-ID: References: <87sijlj4oo.fsf@anarchist.wooz.org> <20140921180053.7d6677c8@anarchist.wooz.org> Date: Sun, 21 Sep 2014 20:46:12 -0400 In-Reply-To: <20140921180053.7d6677c8@anarchist.wooz.org> (Barry Warsaw's message of "Sun, 21 Sep 2014 18:00:53 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > Is it possible to force vc-dir to use a specific vcs on invocation, or to > change vc-dir's backend after the fact? You can change vc-handled-backends whenever you feel like it. But I'm not sure what would be a good hook to do it at the right time. You can change VC backend after the fact via `vc-switch-backend', although it was not written with vc-dir in mind, so I'm not sure it'll work for that case. > If this bugs me enough, I'll take a crack at a workaround/fix. The core of the problem is that currently, every backend is responsible for doing its own "walk up the parent directories" since some backends do that and others don't. Back in the days of SVN, such walks did not exist at all, but nowadays they're "the normal case". If you look at vc-default-registered, you'll see what was considered "normal" many years ago. Nowadays 99.9% of Emacs users have no clue what those master-templates might be for. So we need to change vc-registered (and the associated `registered' backend functions) so that it does the walk up the parent directories, and then calls each backend, yet also let the backend "refuse" to do this walk (in case of RCS or SCCS). Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 16 11:31:29 2020 Received: (at control) by debbugs.gnu.org; 16 Oct 2020 15:31:29 +0000 Received: from localhost ([127.0.0.1]:60571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTRhY-0000X5-VT for submit@debbugs.gnu.org; Fri, 16 Oct 2020 11:31:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTRhX-0000Wt-Mp for control@debbugs.gnu.org; Fri, 16 Oct 2020 11:31:27 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34654) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kTRhS-0001JH-Av for control@debbugs.gnu.org; Fri, 16 Oct 2020 11:31:22 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1kTRhR-0005Ym-Gz for control@debbugs.gnu.org; Fri, 16 Oct 2020 11:31:21 -0400 Subject: control message for bug 42966 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Fri, 16 Oct 2020 11:31:21 -0400 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) forcemerge 3807 42966 From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 26 16:12:20 2020 Received: (at control) by debbugs.gnu.org; 26 Oct 2020 20:12:20 +0000 Received: from localhost ([127.0.0.1]:41491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kX8qq-0000Wd-GP for submit@debbugs.gnu.org; Mon, 26 Oct 2020 16:12:20 -0400 Received: from quimby.gnus.org ([95.216.78.240]:46962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kX8qn-0000WH-Ph for control@debbugs.gnu.org; Mon, 26 Oct 2020 16:12:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=J/PrQ0vnKjWL1SpYHEtRnqzkvUtSxOgw9YZ2tG5rY5k=; b=Bl5jl7awCbdU90ntiBHqQwy7RK Uu3xss7bjrif/pCtlQB38KtsHV/5vDh/r3Za/p7SPlnXJIciZsj8eKwTsDwz9+1CBOfTeS8FTj1vI Od610vy9M26LNa6Jj1ZA5Y2MbYYJvFFPljstLwH3E+54G5Z/5qpTZoVB0cM8yGBa4l6M=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kX8qg-0005Ir-5p for control@debbugs.gnu.org; Mon, 26 Oct 2020 21:12:12 +0100 Date: Mon, 26 Oct 2020 21:12:08 +0100 Message-Id: <878sbswxuv.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #42966 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 42966 fixed close 42966 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 42966 fixed close 42966 28.1 quit From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 26 16:14:41 2020 Received: (at control) by debbugs.gnu.org; 26 Oct 2020 20:14:41 +0000 Received: from localhost ([127.0.0.1]:41523 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kX8t6-0000cT-Uv for submit@debbugs.gnu.org; Mon, 26 Oct 2020 16:14:41 -0400 Received: from quimby.gnus.org ([95.216.78.240]:47050) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kX8t2-0000bz-2U for control@debbugs.gnu.org; Mon, 26 Oct 2020 16:14:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=CDHcNPAss6lqSekRUJFw8csXGFiPTaguppZi3Ow0vbw=; b=SVdKWslV/6n2IWx7OyZYLex+Q1 54TqXEGMcrzt4+KVaqlZ2+TIeba5uXsguQVll0pIxDLneKtw6u0ee876znVSF5lWjjveUrCEWUVqf L3r4ZrBxVBr4xrzgKF5+dsiVvgESyaghY5R3J4JRtkp0fKsi6RVoGqy2RsiN8DBpagmk=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kX8su-0005K6-DZ for control@debbugs.gnu.org; Mon, 26 Oct 2020 21:14:30 +0100 Date: Mon, 26 Oct 2020 21:14:27 +0100 Message-Id: <87y2jsvj6k.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #3807 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 3807 fixed close 3807 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 3807 fixed close 3807 28.1 quit