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

Symbolic link to a folder in another working copy (Windows 7)

From: Glen <lonedesign_2k_at_yahoo.com>
Date: Fri, 17 Sep 2010 11:18:22 +0200

  If I create a symbolic link (using mklink) to a normal OS folder from
a folder in my WC, the folder and its contents show up as unversioned
items, as expected (though I haven't tried committing them, which I
guess may fail due to lack of support for symlinks on Windows).

If I create a symbolic link to a folder in another WC (different repo),
I get various errors such as:

Can't find an entry
svn: 'D:\...\folder' is not under version control

I'm guessing this is because SVN is reading the SVN metadata in the
other repo and that's screwing everything up.

What am I trying to do?

I have two websites under version control. The one needs to symlink to
the other to access uploaded images. In production (Linux), we use
svn2web which transfers changes to the web root. I created the symlink
manually and it works as it should. However, in development (Windows 7),
I run the site directly from the WC. I also want the symlink here so
that the images will show up from the WC of the other repo. As mentioned
above though, this doesn't work unfortunately.

I guess one option would be to have some sort of deployment system
locally as well, and to not run the site directly from the WC (so that I
can set up a symlink).

Any other ides?
Received on 2010-09-17 11:19:29 CEST

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

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