From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juha =?UTF-8?Q?J=C3=A4ykk=C3=A4?= Newsgroups: gmane.emacs.bugs Subject: bug#13826: Bug#701711: emacs24: svn support fails in a symlinked directory Date: Wed, 27 Feb 2013 23:10:28 +0100 Message-ID: <201302272310.30975.juhaj@iki.fi> References: <20130226145914.15278.87016.reportbug@dhcp071.albanova.se> <87y5eailgc.fsf@trouble.defaultvalue.org> <5fvc9e5fm9.fsf@fencepost.gnu.org> Reply-To: juhaj@iki.fi NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1362006679 26060 80.91.229.3 (27 Feb 2013 23:11:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 Feb 2013 23:11:19 +0000 (UTC) Cc: Rob Browning , 701711-forwarded@bugs.debian.org, 13826@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 28 00:11:41 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UAq9y-0007SV-A0 for geb-bug-gnu-emacs@m.gmane.org; Thu, 28 Feb 2013 00:11:38 +0100 Original-Received: from localhost ([::1]:51466 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAq9d-0005es-7X for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 Feb 2013 18:11:17 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAq9Y-0005ec-5e for bug-gnu-emacs@gnu.org; Wed, 27 Feb 2013 18:11:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UAq9V-0001wW-OA for bug-gnu-emacs@gnu.org; Wed, 27 Feb 2013 18:11:12 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48887) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UAq9V-0001wQ-LT for bug-gnu-emacs@gnu.org; Wed, 27 Feb 2013 18:11:09 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UAqBK-0001Xt-8l for bug-gnu-emacs@gnu.org; Wed, 27 Feb 2013 18:13:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juha =?UTF-8?Q?J=C3=A4ykk=C3=A4?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 Feb 2013 23:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13826 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo unreproducible Original-Received: via spool by 13826-submit@debbugs.gnu.org id=B13826.13620067675909 (code B ref 13826); Wed, 27 Feb 2013 23:13:02 +0000 Original-Received: (at 13826) by debbugs.gnu.org; 27 Feb 2013 23:12:47 +0000 Original-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 Original-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 Original-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) Original-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) User-Agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; ) In-Reply-To: <5fvc9e5fm9.fsf@fencepost.gnu.org> X-Mailman-Approved-At: Wed, 27 Feb 2013 18:12:45 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:71931 Archived-At: > >> 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/ | -----------------------------------------------