You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Wouter van der Horst <w....@gmail.com> on 2008/02/06 11:53:13 UTC

svn.exe does not work with junctions (WinXP)

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?

TIA,
Wouter

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

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

Posted by Erik Huelsmann <eh...@gmail.com>.
On 2/7/08, Wouter van der Horst <w....@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 <eh...@gmail.com> wrote:
> > On Feb 6, 2008 12:53 PM, Wouter van der Horst <w....@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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

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

Posted by Wouter van der Horst <w....@gmail.com>.
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.

TIA,
Wouter

On 07/02/2008, Erik Huelsmann <eh...@gmail.com> wrote:
> On Feb 6, 2008 12:53 PM, Wouter van der Horst <w....@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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

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

Posted by Andy Levy <an...@gmail.com>.
On Feb 7, 2008 2:13 AM, Erik Huelsmann <eh...@gmail.com> wrote:
> On Feb 6, 2008 12:53 PM, Wouter van der Horst <w....@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.

IIRC, Junctions are different from symlinks; NTFS got true symlinks in
Windows Vista.

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

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

Posted by Erik Huelsmann <eh...@gmail.com>.
On Feb 6, 2008 12:53 PM, Wouter van der Horst <w....@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@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org