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

Re: svn.exe does not work with junctions (WinXP)

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: Thu, 7 Feb 2008 13:04:46 +0100

On 2/7/08, Wouter van der Horst <w.vanderhorst_at_gmail.com> wrote:
> Thanks for the reply.
>
> I'd think that junctions/symlinks (and hardlinks) are supposed to be
> totally transparent to applications (ie looking, acting and smelling
> like a real directory), so this is not the behaviour i expect.
>
> Could there be a reason svn does this on purpose? I can't think of one.

Yes: symlinks are versioned objects themselves, meaning that
Subversion looks at the surrounding directory for versioning
information. When it does that in your situation, it can't find any.

bye,

Erik.

>
> TIA,
> Wouter
>
> On 07/02/2008, Erik Huelsmann <ehuels_at_gmail.com> wrote:
> > On Feb 6, 2008 12:53 PM, Wouter van der Horst <w.vanderhorst_at_gmail.com> wrote:
> > > Hi,
> > >
> > > I am trying to set svn properties to a directory which is a junction
> > > to another one, in which a checkout has been done. The error I get is:
> > >
> > > svn: 'D:\Projects' is not a working copy
> > > svn: Can't open file 'D:\Projects\.svn\entries': The system cannot
> > > find the path specified.
> > >
> > > The given parameter was "D:\Projects\<juncton_dir>"
> > >
> > > Running the same command with the 'normal' dir as parameter works fine.
> > >
> > > using:
> > > svn, version 1.4.6 (r28521)
> > > compiled Dec 20 2007, 16:19:22
> > > winxp sp2
> > >
> > > I found this:
> > > http://svn.haxx.se/tsvn/archive-2007-01/0031.shtml
> > >
> > > But I found nothing about this in the bugtracker. Is this a bug like
> > > that post claims?
> >
> > Probably not: the behaviour is consistent with the Unix version when
> > passing a symlink (Unix's variant of a junction) as a target.
> >
> >
> > HTH,
> >
> > Erik.
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-02-07 13:05:09 CET

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.