[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-17 16:24:50 CEST

Charles E. Doucette wrote:
>> 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 \\\test
>> M \\\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?
> Do you mean the PATH environment variable to find Subversion and Ankh
> etc. or the path to the project files? The diff and commit seem to
> work fine, so I believe
> the path to the project files is ok.

I was referring to your UNC path. Ankh doesn't rely on the system PATH in
any way. Your UNC path was "\\mlc-jr\" - where is the share name? UNC paths
are, AFAIK, on the form \\machine\share.

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 Wed Sep 17 16:25:41 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.