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

RE: Can Subversion handle UNC paths on Windows (or can Apache's apr)?

From: Arild Fines <arild.fines_at_broadpark.no>
Date: 2003-09-16 20:04:01 CEST

Charles E. Doucette wrote:
>
> I just got an error from AnkhSVN while trying to commit a Visual
> Studio .NET web project
> (on Windows):
>
> The following exception has occurred:
>
> SvnClientException: svn client error: check_path: problem checking
> path "\\mlc-jr\" at \subversion\subversion\libsvn_subr\io.c : line 72
> check_path: problem checking path "\\mlc-jr\"
>
> Visual Studio .NET assumes that a web project
> (WebApplication1.csproj) and all of its files are on a website (such
> as http://localhost/WebApplication1) and also via a UNC file share
> (such as \\MyPC\wwwroot$\WebApplication1).
>
> The commit seems fine; but, perhaps I will do my checkins via
> TortoiseSVN instead - at least for now.

Sorry that this post seems to have slipped through the cracks. I intended to
reply to it a couple of days ago, but forgot about it.

I just tried this, which seems to confirm that Subversion supports UNC
paths:

J:\tmp\wc>net share test=J:\tmp\wc
test was shared successfully.

J:\tmp\wc>cat >> Form.cs
Moo

J:\tmp\wc>svn st
M Form.cs

J:\tmp\wc>svn st \\127.0.0.1\test
M \\127.0.0.1\test\Form.cs

If the underlying Subversion libraries support them, there's no reason why
Ankh shouldn't do so too. Are you sure that your path is correct?

--
Arild
AnkhSVN: http://ankhsvn.tigris.org
Blog: http://ankhsvn.com/blog
RSS: http://ankhsvn.com/blog/Rss.aspx
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Sep 16 20:05:03 2003

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.