You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Ivan Zhakov <iv...@visualsvn.com> on 2013/07/25 12:04:30 UTC
Re: Windows junctions are not supported in Subversion 1.8.0 anymore
On Thu, Jul 25, 2013 at 1:25 PM, Thorsten Schöning
<ts...@am-soft.de> wrote:
> Hello,
>
> I'm working heavily with Windows junctions in my development
> environment, meaning that e.g. I check out a working copy in an
> Eclipse workspace using Subclipse and afterwards create a junction to
> my httpd cgi-bin directory. Please note that I do not link deeply into
> the working copy but create the junction to the working copy root. One
> example: The directory ...\Eclipse\Perl\some_project contains my
> working copy checked out using Subclipse, afterwards I manually create
> ...\httpd\cgi-bin\somewhere\some_project as a junction to the
> some_project folder in my Eclipse workspace.
>
> This allowed me to use Subclipse within Eclipse and TortoiseSVN in
> Windows Explorer depending on what I need to work on in my web
> application, which gets served by the current code base developed in
> Eclipse. This worked without any problems for years now with older
> versions of Subversion, but starting with 1.8.0 I get the following
> error:
>
> svn: E200007: Symbolic links are not supported on this platform
>
> This is not bug 4383, my client doesn't crash, it simply shows me the
> error message. Besides that, the bug's status is still new, but the
> changelog for 1.8.1 mentioned it as fixed.
>
> http://subversion.tigris.org/issues/show_bug.cgi?id=4383
> http://svn.apache.org/repos/asf/subversion/tags/1.8.1/CHANGES
>
Reading symbolic links on Windows Vista and later is implemented on
trunk in r1501251 [1]:
[[[
Implement reading symbolic links on Windows Vista or later. This fix
issues with working copies located in symlinked folders.
]]]
Maybe it worth to backport this change to 1.8.x to fix reported issue?
[1] http://svn.apache.org/r1501251
--
Ivan Zhakov
CTO | VisualSVN | http://www.visualsvn.com
Re: Windows junctions are not supported in Subversion 1.8.0 anymore
Posted by Thorsten Schöning <ts...@am-soft.de>.
Guten Tag Bert Huijben,
am Donnerstag, 25. Juli 2013 um 15:04 schrieben Sie:
> In 1.7 we didn't try reading symlinks for opening a working copy, while in
> 1.8 and trunk we do try to read the symlink. So working copies that did work
> in 1.7 are not working any more.
> I would call that a regression.
Is there any chance left that the old behavior gets restored within
the lifetime of 1.8.x? Should I file a bug that people can vote for?
Shouldn't it be enough to remove the check for symlink support on
Windows and let Windows handle everything on it's own?
Mit freundlichen Grüßen,
Thorsten Schöning
--
Thorsten Schöning E-Mail:Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme http://www.AM-SoFT.de/
Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04
AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
RE: Windows junctions are not supported in Subversion 1.8.0 anymore
Posted by Bert Huijben <be...@qqmail.nl>.
> -----Original Message-----
> From: Stefan Sperling [mailto:stsp@elego.de]
> Sent: donderdag 25 juli 2013 13:24
> To: Ivan Zhakov
> Cc: Subversion Development; users@subversion.apache.org; Thorsten
> Schöning
> Subject: Re: Windows junctions are not supported in Subversion 1.8.0
> anymore
>
> On Thu, Jul 25, 2013 at 02:04:30PM +0400, Ivan Zhakov wrote:
> > Reading symbolic links on Windows Vista and later is implemented on
> > trunk in r1501251 [1]:
> > [[[
> > Implement reading symbolic links on Windows Vista or later. This fix
> > issues with working copies located in symlinked folders.
> > ]]]
> >
> > Maybe it worth to backport this change to 1.8.x to fix reported issue?
> >
> > [1] http://svn.apache.org/r1501251
>
> I would say it's a new feature, not a bug fix. Which would mean that
> it needs to wait for 1.9.
In 1.7 we didn't try reading symlinks for opening a working copy, while in
1.8 and trunk we do try to read the symlink. So working copies that did work
in 1.7 are not working any more.
I would call that a regression.
But I don't know if reading the symlink to find the working copy is the
proper solution here. But we had the same problem when we discussed that bit
of code last time.
Bert
RE: Windows junctions are not supported in Subversion 1.8.0 anymore
Posted by Bert Huijben <be...@qqmail.nl>.
> -----Original Message-----
> From: Stefan Sperling [mailto:stsp@elego.de]
> Sent: donderdag 25 juli 2013 13:24
> To: Ivan Zhakov
> Cc: Subversion Development; users@subversion.apache.org; Thorsten
> Schöning
> Subject: Re: Windows junctions are not supported in Subversion 1.8.0
> anymore
>
> On Thu, Jul 25, 2013 at 02:04:30PM +0400, Ivan Zhakov wrote:
> > Reading symbolic links on Windows Vista and later is implemented on
> > trunk in r1501251 [1]:
> > [[[
> > Implement reading symbolic links on Windows Vista or later. This fix
> > issues with working copies located in symlinked folders.
> > ]]]
> >
> > Maybe it worth to backport this change to 1.8.x to fix reported issue?
> >
> > [1] http://svn.apache.org/r1501251
>
> I would say it's a new feature, not a bug fix. Which would mean that
> it needs to wait for 1.9.
In 1.7 we didn't try reading symlinks for opening a working copy, while in
1.8 and trunk we do try to read the symlink. So working copies that did work
in 1.7 are not working any more.
I would call that a regression.
But I don't know if reading the symlink to find the working copy is the
proper solution here. But we had the same problem when we discussed that bit
of code last time.
Bert
Re: Windows junctions are not supported in Subversion 1.8.0 anymore
Posted by Thorsten Schöning <ts...@am-soft.de>.
Guten Tag Stefan Sperling,
am Donnerstag, 25. Juli 2013 um 13:23 schrieben Sie:
> I would say it's a new feature, not a bug fix. Which would mean that
> it needs to wait for 1.9.
But things worked in Subversion 1.7.x. It's not about versioned links
or things like that, not even anything unversioned inside the working
copy, it's about junctions to working copy roots outside the working
copy which Subversion shouldn't care about. Though I would expect that
unversioned junctions in a working copy should work again, too.
Mit freundlichen Grüßen,
Thorsten Schöning
--
Thorsten Schöning E-Mail:Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme http://www.AM-SoFT.de/
Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04
AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
Re: Windows junctions are not supported in Subversion 1.8.0 anymore
Posted by Stefan Sperling <st...@elego.de>.
On Thu, Jul 25, 2013 at 02:04:30PM +0400, Ivan Zhakov wrote:
> Reading symbolic links on Windows Vista and later is implemented on
> trunk in r1501251 [1]:
> [[[
> Implement reading symbolic links on Windows Vista or later. This fix
> issues with working copies located in symlinked folders.
> ]]]
>
> Maybe it worth to backport this change to 1.8.x to fix reported issue?
>
> [1] http://svn.apache.org/r1501251
I would say it's a new feature, not a bug fix. Which would mean that
it needs to wait for 1.9.
Re: Windows junctions are not supported in Subversion 1.8.0 anymore
Posted by Stefan Sperling <st...@elego.de>.
On Thu, Jul 25, 2013 at 02:04:30PM +0400, Ivan Zhakov wrote:
> Reading symbolic links on Windows Vista and later is implemented on
> trunk in r1501251 [1]:
> [[[
> Implement reading symbolic links on Windows Vista or later. This fix
> issues with working copies located in symlinked folders.
> ]]]
>
> Maybe it worth to backport this change to 1.8.x to fix reported issue?
>
> [1] http://svn.apache.org/r1501251
I would say it's a new feature, not a bug fix. Which would mean that
it needs to wait for 1.9.
Re: Windows junctions are not supported in Subversion 1.8.0 anymore
Posted by Thorsten Schöning <ts...@am-soft.de>.
Guten Tag Ivan Zhakov,
am Donnerstag, 25. Juli 2013 um 12:04 schrieben Sie:
> Reading symbolic links on Windows Vista and later is implemented on
> trunk in r1501251 [1]:
I hope this will work with junctions, too, as from my understanding
both are technically different, but even MSDN often just refers to
"symbolic links", but mentions reparse points later on, which implied
Junctions when "true" symbolic links didn't exist in NTFS yet.
> Related topics
> Symbolic Links
> Hard Links and Junctions
http://msdn.microsoft.com/en-us/library/windows/desktop/aa363878(v=vs.85).aspx
> Maybe it worth to backport this change to 1.8.x to fix reported issue?
Definitely +1 from me or maybe consider restoring the old behavior
were Subversion didn't care about Junctions at all, but simply worked.
Does Subversion store absolute paths to working copies inside the
working copy or why should it care to resolve junctions(/links) in new
versions?
Mit freundlichen Grüßen,
Thorsten Schöning
--
Thorsten Schöning E-Mail:Thorsten.Schoening@AM-SoFT.de
AM-SoFT IT-Systeme http://www.AM-SoFT.de/
Telefon...........05151- 9468- 55
Fax...............05151- 9468- 88
Mobil..............0178-8 9468- 04
AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow