You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Charles E. Doucette" <cd...@med-learn.com> on 2003/09/13 03:21:59 UTC

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

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.

Chuck



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

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

Posted by Arild Fines <ar...@broadpark.no>.
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 \\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?
>
> 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.


--
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

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

Posted by "Charles E. Doucette" <cd...@med-learn.com>.

> -----Original Message-----
> From: Arild Fines [mailto:arild.fines@broadpark.no] 
> Sent: Tuesday, September 16, 2003 2:04 PM
> To: cdoucette@med-learn.com; users@ankhsvn.tigris.org
> Cc: users@subversion.tigris.org
> Subject: RE: Can Subversion handle UNC paths on Windows (or 
> can Apache's apr)?
> 
> 
> 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?

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'm using Subversion 0.29 and AnkhSVN 0.25

Chuck

> 
> --
> 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
> 
> 



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

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

Posted by Arild Fines <ar...@broadpark.no>.
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