From unknown Fri Jun 20 07:14:40 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#13826 <13826@debbugs.gnu.org> To: bug#13826 <13826@debbugs.gnu.org> Subject: Status: Bug#701711: emacs24: svn support fails in a symlinked directory Reply-To: bug#13826 <13826@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:14:40 +0000 retitle 13826 Bug#701711: emacs24: svn support fails in a symlinked directo= ry reassign 13826 emacs submitter 13826 Rob Browning severity 13826 normal tag 13826 moreinfo unreproducible thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 26 20:41:45 2013 Received: (at submit) by debbugs.gnu.org; 27 Feb 2013 01:41:45 +0000 Received: from localhost ([127.0.0.1]:52028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAW1h-0004AX-3E for submit@debbugs.gnu.org; Tue, 26 Feb 2013 20:41:45 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34582) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAW1d-0004AP-Gh for submit@debbugs.gnu.org; Tue, 26 Feb 2013 20:41:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAVzs-0001HY-O1 for submit@debbugs.gnu.org; Tue, 26 Feb 2013 20:39:53 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-102.6 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, USER_IN_WHITELIST autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:36309) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAVzs-0001HJ-Lr for submit@debbugs.gnu.org; Tue, 26 Feb 2013 20:39:52 -0500 Received: from eggs.gnu.org ([208.118.235.92]:45936) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAVzr-0002u5-MN for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 20:39:52 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAVzq-0001Ag-Cg for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 20:39:51 -0500 Received: from defaultvalue.org ([70.85.129.156]:58661) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAVzq-00018Q-8n for bug-gnu-emacs@gnu.org; Tue, 26 Feb 2013 20:39:50 -0500 Received: from trouble.defaultvalue.org (localhost [127.0.0.1]) (Authenticated sender: rlb@defaultvalue.org) by defaultvalue.org (Postfix) with ESMTPSA id C745190D24; Tue, 26 Feb 2013 19:39:48 -0600 (CST) Received: by trouble.defaultvalue.org (Postfix, from userid 1000) id 76C4414E1D0; Tue, 26 Feb 2013 19:39:47 -0600 (CST) From: Rob Browning To: bug-gnu-emacs@gnu.org Subject: Re: Bug#701711: emacs24: svn support fails in a symlinked directory References: <20130226145914.15278.87016.reportbug@dhcp071.albanova.se> Date: Tue, 26 Feb 2013 19:39:47 -0600 In-Reply-To: <20130226145914.15278.87016.reportbug@dhcp071.albanova.se> ("Juha \=\?utf-8\?B\?SsOkeWtrw6QiJ3M\=\?\= message of "Tue, 26 Feb 2013 15:59:14 +0100") Message-ID: <87y5eailgc.fsf@trouble.defaultvalue.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit Cc: Juha =?utf-8?B?SsODwqR5a2vDg8Kk?= , 701711@bugs.debian.org, 701711-forwarded@bugs.debian.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) (If possible, please preserve the 701711-forwarded address in any replies.) Juha J=C3=A4ykk=C3=A4 writes: > Version: 24.2+1-2 > vc-update and other vc-*-commands fail to detect an svn controlled > directory when the directory is a symlink to an svn controlled > directory. > > The new SVN working copy directory tree only has .svn directory at > the topmost level and it seems emacs does 'chdir("..")' or something > equivalent when it tries to find the .svn directory. However, if=20 > directory A is a symlink to an svn working copy directory B, then > looking at A/.. is not the right place to look for .svn; instead, > emacs should note that A is a symlink, readlink() and look at B/.. > instead. Further details can be found here: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D701711 Thanks --=20 Rob Browning rlb @defaultvalue.org and @debian.org GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4 From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 27 03:26:07 2013 Received: (at 13826) by debbugs.gnu.org; 27 Feb 2013 08:26:07 +0000 Received: from localhost ([127.0.0.1]:52464 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAcL1-0005AQ-FL for submit@debbugs.gnu.org; Wed, 27 Feb 2013 03:26:07 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:34733) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAcKz-0005AI-KE for 13826@debbugs.gnu.org; Wed, 27 Feb 2013 03:26:06 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1UAcJC-0001CR-FJ; Wed, 27 Feb 2013 03:24:14 -0500 From: Glenn Morris To: Rob Browning Subject: Re: bug#13826: Bug#701711: emacs24: svn support fails in a symlinked directory References: <20130226145914.15278.87016.reportbug@dhcp071.albanova.se> <87y5eailgc.fsf@trouble.defaultvalue.org> X-Spook: gamma Waco, Texas data haven Soviet freedom SP4 MD4 Uzi X-Ran: $B-U,_"RoKZEfBfM-"&c}Q\GmL/7|APO]t's|%K&?bDEQ&S_&r/2.fbq?PN&[#`@7rzR (Rob Browning's message of "Tue, 26 Feb 2013 19:39:47 -0600") Message-ID: <5fvc9e5fm9.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: -4.9 (----) X-Debbugs-Envelope-To: 13826 Cc: Juha =?utf-8?B?SsODwqR5a2vDg8Kk?= , 13826@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -7.6 (-------) >> vc-update and other vc-*-commands fail to detect an svn controlled >> directory when the directory is a symlink to an svn controlled >> directory. Works fine for me. Please give a complete recipe starting from emacs -Q. Here's mine, using svn 1.7.8. I assume you are talking about subdirectories, otherwise it makes no sense. cd /tmp svnadmin create repo mkdir -p proj/sub/dir cd proj touch 1 sub/2 sub/dir/3 svn import . file:///tmp/repo/proj/trunk -m 'import' cd ../ rm -rf proj svn checkout file:///tmp/repo/proj/trunk proj svn checkout file:///tmp/repo/proj/trunk proj2 cd proj2 echo foo >> sub/dir/3 svn commit -m "change" sub/dir/3 cd ../ ln -s proj/sub/dir emacs-24.2 -Q dir/3 & # visit file via linked directory "Followed link to /tmp/proj/sub/dir/3" appears in echo-area. SVN-1 appears in mode-line. M-x vc-update -> file is updated with "foo" From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 27 18:12:47 2013 Received: (at 13826) by debbugs.gnu.org; 27 Feb 2013 23:12:47 +0000 Received: from localhost ([127.0.0.1]:54350 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAqB5-0001XE-2C for submit@debbugs.gnu.org; Wed, 27 Feb 2013 18:12:47 -0500 Received: from static.89.89.4.46.clients.your-server.de ([46.4.89.89]:56000 helo=kolab.juhaj.iki.fi) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAq6z-0001R0-7Y for 13826@debbugs.gnu.org; Wed, 27 Feb 2013 18:08:35 -0500 Received: from localhost (localhost [127.0.0.1]) by kolab.juhaj.iki.fi (Postfix) with ESMTP id 206DB2050B for <13826@debbugs.gnu.org>; Wed, 27 Feb 2013 23:06:39 +0000 (UTC) Received: from rigel.localnet (unknown [10.0.6.2]) by kolab.juhaj.iki.fi (Postfix) with ESMTPS id A8716202B7; Wed, 27 Feb 2013 23:06:38 +0000 (UTC) From: Juha =?iso-8859-1?q?J=E4ykk=E4?= To: Glenn Morris Subject: Re: bug#13826: Bug#701711: emacs24: svn support fails in a symlinked directory Date: Wed, 27 Feb 2013 23:10:28 +0100 User-Agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) References: <20130226145914.15278.87016.reportbug@dhcp071.albanova.se> <87y5eailgc.fsf@trouble.defaultvalue.org> <5fvc9e5fm9.fsf@fencepost.gnu.org> In-Reply-To: <5fvc9e5fm9.fsf@fencepost.gnu.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201302272310.30975.juhaj@iki.fi> X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 13826 X-Mailman-Approved-At: Wed, 27 Feb 2013 18:12:45 -0500 Cc: 701711-forwarded@bugs.debian.org, Rob Browning , 13826@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: juhaj@iki.fi List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > >> vc-update and other vc-*-commands fail to detect an svn controlled > >> directory when the directory is a symlink to an svn controlled > >> directory. >=20 > Works fine for me. Please give a complete recipe starting from emacs -Q. I'm sorry for the false alarm. I still think there is a bug, but not the on= e I=20 reported. This works emacs -Q /path/to/symlink-directory/file where /path/to/symlink-directory points to an SVN controlled directory. However, if the variable vc-cvs-stay-local is set to nil in .emacs, then th= e=20 emacs fails to notice that symlink-directory is SVN controlled. Now, this may or may not be intended, but I believe it is a bug nevertheles= s.=20 If it is not intended, there's the bug. If it is intended, then the=20 documentation for vc-cvs-stay-local (not to mention the name of the variabl= e=20 implying that it affects CVS repositories only, but the documentation makes= it=20 clear this is not the case) is wrong: Non-nil means use local operations when possible for remote repositories. This avoids slow queries over the network and instead uses heuristics and past information to determine the current status of a file. =20 If value is the symbol `only-file' `vc-dir' will connect to the server, but heuristics will be used to determine the status for all other VC operations. =20 The value can also be a regular expression or list of regular expressions to match against the host name of a repository; then VC only stays local for hosts that match it. Alternatively, the value can be a list of regular expressions where the first element is the symbol `except'; then VC always stays local except for hosts matched by these regular expressions. Cheers, Juha =2D-=20 ----------------------------------------------- | Juha J=E4ykk=E4, juhaj@iki.fi | | http://koti.kapsi.fi/~juhaj/ | ----------------------------------------------- From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 28 02:50:46 2013 Received: (at 13826) by debbugs.gnu.org; 28 Feb 2013 07:50:47 +0000 Received: from localhost ([127.0.0.1]:54915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAyGK-0005h3-GN for submit@debbugs.gnu.org; Thu, 28 Feb 2013 02:50:46 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:56628) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UAyGC-0005gp-Sl for 13826@debbugs.gnu.org; Thu, 28 Feb 2013 02:50:38 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1UAyEK-0002YE-SK; Thu, 28 Feb 2013 02:48:40 -0500 From: Glenn Morris To: juhaj@iki.fi Subject: Re: bug#13826: emacs24: svn support fails in a symlinked directory References: <20130226145914.15278.87016.reportbug@dhcp071.albanova.se> <87y5eailgc.fsf@trouble.defaultvalue.org> <5fvc9e5fm9.fsf@fencepost.gnu.org> <201302272310.30975.juhaj@iki.fi> X-Spook: halcon Jyllandsposten USDOJ Geraldton BLU-97 A/B mindwar X-Ran: K!?mR$HPW65!VKK[0UX\<|)!&XQcZ^#zuatY~t%g-Eye8Z_M(&O/6WyE_er0qF@)%Em$W? X-Hue: yellow X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 28 Feb 2013 02:48:40 -0500 In-Reply-To: <201302272310.30975.juhaj@iki.fi> ("Juha =?utf-8?B?SsOkeWtr?= =?utf-8?B?w6QiJ3M=?= message of "Wed, 27 Feb 2013 23:10:28 +0100") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: 13826 Cc: Rob Browning , 13826@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -7.6 (-------) Juha J=C3=A4ykk=C3=A4 wrote: > However, if the variable vc-cvs-stay-local is set to nil in .emacs, then = the=20 > emacs fails to notice that symlink-directory is SVN controlled. It makes no difference for me whether I set vc-cvs-stay-local, vc-svn-stay-local, or vc-stay-local to nil or t. The recipe I posted still works fine. Do you have a recipe starting from emacs -Q that shows the problem? From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 05 18:52:36 2014 Received: (at 13826) by debbugs.gnu.org; 5 Feb 2014 23:52:36 +0000 Received: from localhost ([127.0.0.1]:51425 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBCGh-0000gX-Nw for submit@debbugs.gnu.org; Wed, 05 Feb 2014 18:52:36 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:42824) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBCGb-0000gE-2w for 13826@debbugs.gnu.org; Wed, 05 Feb 2014 18:52:33 -0500 Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WBCGM-00079Z-Ot; Thu, 06 Feb 2014 00:52:15 +0100 From: Lars Ingebrigtsen To: Glenn Morris Subject: Re: bug#13826: emacs24: svn support fails in a symlinked directory References: <20130226145914.15278.87016.reportbug@dhcp071.albanova.se> <87y5eailgc.fsf@trouble.defaultvalue.org> <5fvc9e5fm9.fsf@fencepost.gnu.org> <201302272310.30975.juhaj@iki.fi> Date: Wed, 05 Feb 2014 15:51:11 -0800 In-Reply-To: (Glenn Morris's message of "Thu, 28 Feb 2013 02:48:40 -0500") Message-ID: <87fvnx2k5s.fsf@building.gnus.org> User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-MailScanner-ID: 1WBCGM-00079Z-Ot X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1392249135.21781@SMh7e9a3iTaHLeLLa9LhkA X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 13826 Cc: juhaj@iki.fi, Rob Browning , 13826@debbugs.gnu.org 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 (/) Glenn Morris writes: > Juha J=E4ykk=E4 wrote: > >> However, if the variable vc-cvs-stay-local is set to nil in .emacs, then= the=20 >> emacs fails to notice that symlink-directory is SVN controlled. > > It makes no difference for me whether I set vc-cvs-stay-local, > vc-svn-stay-local, or vc-stay-local to nil or t. The recipe I posted > still works fine. Do you have a recipe starting from emacs -Q that shows > the problem? More information was requested almost a year ago, but no further progress seems to have been made. I'm closing this bug report now, but if this problem still persists, please reopen it. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 05 18:52:36 2014 Received: (at control) by debbugs.gnu.org; 5 Feb 2014 23:52:36 +0000 Received: from localhost ([127.0.0.1]:51427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBCGi-0000gd-Fv for submit@debbugs.gnu.org; Wed, 05 Feb 2014 18:52:36 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:42679) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBCGg-0000gP-9Z for control@debbugs.gnu.org; Wed, 05 Feb 2014 18:52:34 -0500 Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WBCGS-00079m-5h for control@debbugs.gnu.org; Thu, 06 Feb 2014 00:52:20 +0100 Date: Wed, 05 Feb 2014 15:51:17 -0800 Message-Id: <87eh3h2k5m.fsf@building.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #13826 X-MailScanner-ID: 1WBCGS-00079m-5h X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1392249141.06237@fQC+K+RR7WHBehSotytBFg X-Spam-Status: No X-Spam-Score: 0.0 (/) 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: 0.0 (/) close 13826 From unknown Fri Jun 20 07:14:40 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 06 Mar 2014 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator