unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Juha Jäykkä" <juhaj@iki.fi>
To: Glenn Morris <rgm@gnu.org>
Cc: Rob Browning <rlb@defaultvalue.org>,
	701711-forwarded@bugs.debian.org, 13826@debbugs.gnu.org
Subject: bug#13826: Bug#701711: emacs24: svn support fails in a symlinked directory
Date: Wed, 27 Feb 2013 23:10:28 +0100	[thread overview]
Message-ID: <201302272310.30975.juhaj@iki.fi> (raw)
In-Reply-To: <5fvc9e5fm9.fsf@fencepost.gnu.org>

> >> 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.

I'm sorry for the false alarm. I still think there is a bug, but not the one I 
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 the 
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 nevertheless. 
If it is not intended, there's the bug. If it is intended, then the 
documentation for vc-cvs-stay-local (not to mention the name of the variable 
implying that it affects CVS repositories only, but the documentation makes it 
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.
   
   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.
   
   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

-- 
		 -----------------------------------------------
		| Juha Jäykkä, juhaj@iki.fi			|
		| http://koti.kapsi.fi/~juhaj/			|
		 -----------------------------------------------





  reply	other threads:[~2013-02-27 22:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20130226145914.15278.87016.reportbug@dhcp071.albanova.se>
2013-02-27  1:39 ` bug#13826: Bug#701711: emacs24: svn support fails in a symlinked directory Rob Browning
2013-02-27  8:24   ` Glenn Morris
2013-02-27 22:10     ` Juha Jäykkä [this message]
2013-02-28  7:48       ` bug#13826: " Glenn Morris
2014-02-05 23:51         ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201302272310.30975.juhaj@iki.fi \
    --to=juhaj@iki.fi \
    --cc=13826@debbugs.gnu.org \
    --cc=701711-forwarded@bugs.debian.org \
    --cc=rgm@gnu.org \
    --cc=rlb@defaultvalue.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).