[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] svn info doesn't work on symlinks

From: Joshua Varner <jlvarner_at_gmail.com>
Date: 2005-09-19 03:16:44 CEST

[[[

Allow working copies to be rooted in symlinked directories.
Resolves Issue: 2305.

Patch By: Joshua Varner <jlvarner@gmail.com>
Review By:

* subversion/libsvn_wc/questions.c
  (svn_wc_check_wc): Changed svn_io_check_path
    to svn_io_check_resolved_path.
* subversion/libsvn_wc/lock.c
  (probe): Changed svn_io_check_path
    to svn_io_check_resolved_path.

]]]

It looks like both of these are only called on the root of
a working copy, (I think) so I don't think there will be
any strange side effects of this. I have no way of checking
if this fixes Issue 2284 as well, but it might. I used the
following script to test, again not converted to proper test
yet, I'm really going to look at python one of these days.

Josh

rm -rf test-repos test-wc hook-out
REPO=$PWD/test-repos
REPOURL=file://$REPO

svnadmin create test-repos
svn co $REPOURL test-wc

cd test-wc
echo New File > file2
svn add file2
svn commit -m "Hi what happened"

cd ..
ln -s test-wc wc-link
svn info wc-link

echo Change > test-wc/file2
svn info wc-link

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Mon Sep 19 03:17:21 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.