You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Tena Sakai <ts...@gallo.ucsf.edu> on 2009/12/22 01:37:12 UTC

url vs path

Hi folks,

I have been using svn happily.
Most of my use is just checkout-modify-checkin cycle, using an url.
Like this:
  svn checkout $HTSVN/tsakai/foo.c

Today, I wanted to run svnadmin dump command and issued:
  svnadmin dump $HTSVN/tsakai > svnDumpTsakai.dump
And it told me:
  svnadmin: 'http://vixen.egcrc.org:8099/svn/tsakai' is an URL
  when it should be a path

I haven't used the path in ages and can't remember how the url
maps to the path.  Can someone please tell me how I can do what
I mean to do above?

Thank you.

Regards,

Tena Sakai
tsakai@gallo.ucsf.edu

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2432168

Please start new threads on the <us...@subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <us...@subversion.apache.org>.

Re: url vs path

Posted by Tena Sakai <ts...@gallo.ucsf.edu>.
Thanks Ryan,

Yes, I just looked in /etc/opt/CollabNet_Subversion/conf directory.
There are three files collabnet_subversion_httpd.conf, viewvc.conf,
and server that all indicate the same path.  I had suspected that
is the path, but this gives me a much solider ground.

Thank you for your help.

Regards,

Tena Sakai
tsakai@gallo.ucsf.edu


On 12/21/09 6:33 PM, "Ryan Schmidt" <su...@ryandesign.com> wrote:

> 
> On Dec 21, 2009, at 19:37, Tena Sakai wrote:
> 
>> I have been using svn happily.
>> Most of my use is just checkout-modify-checkin cycle, using an url.
>> Like this:
>>  svn checkout $HTSVN/tsakai/foo.c
> 
> Well, you probably haven't been doing exactly that, since the smallest thing
> Subversion lets you check out is a directory (you cannot check out a file).
> 
> 
>> Today, I wanted to run svnadmin dump command and issued:
>>  svnadmin dump $HTSVN/tsakai > svnDumpTsakai.dump
>> And it told me:
>>  svnadmin: 'http://vixen.egcrc.org:8099/svn/tsakai' is an URL
>>  when it should be a path
>> 
>> I haven't used the path in ages and can't remember how the url
>> maps to the path.  Can someone please tell me how I can do what
>> I mean to do above?
> 
> Look in your apache configuration (e.g. your httpd.conf or apache.conf or
> similar file, or possibly a file included from one of those files). In it you
> will find an SVNPath or SVNParentPath directive which lists the location on
> disk where your repositories are stored. That will tell you the path to use
> for any svnadmin commands.
> 
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2432197

Please start new threads on the <us...@subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <us...@subversion.apache.org>.

Re: url vs path

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Dec 21, 2009, at 19:37, Tena Sakai wrote:

> I have been using svn happily.
> Most of my use is just checkout-modify-checkin cycle, using an url.
> Like this:
>  svn checkout $HTSVN/tsakai/foo.c

Well, you probably haven't been doing exactly that, since the smallest thing Subversion lets you check out is a directory (you cannot check out a file).


> Today, I wanted to run svnadmin dump command and issued:
>  svnadmin dump $HTSVN/tsakai > svnDumpTsakai.dump
> And it told me:
>  svnadmin: 'http://vixen.egcrc.org:8099/svn/tsakai' is an URL
>  when it should be a path
> 
> I haven't used the path in ages and can't remember how the url
> maps to the path.  Can someone please tell me how I can do what
> I mean to do above?

Look in your apache configuration (e.g. your httpd.conf or apache.conf or similar file, or possibly a file included from one of those files). In it you will find an SVNPath or SVNParentPath directive which lists the location on disk where your repositories are stored. That will tell you the path to use for any svnadmin commands.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2432194

Please start new threads on the <us...@subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <us...@subversion.apache.org>.

RE: url vs path

Posted by Jason Malinowski <ja...@jason-m.com>.
svnadmin dump only takes the local filesystem path. So you must run it on
the local machine hosting the repository. 

Jason Malinowski


> -----Original Message-----
> From: Tena Sakai [mailto:tsakai@gallo.ucsf.edu]
> Sent: Monday, December 21, 2009 5:37 PM
> To: users@subversion.tigris.org
> Subject: url vs path
> 
> Hi folks,
> 
> I have been using svn happily.
> Most of my use is just checkout-modify-checkin cycle, using an url.
> Like this:
>   svn checkout $HTSVN/tsakai/foo.c
> 
> Today, I wanted to run svnadmin dump command and issued:
>   svnadmin dump $HTSVN/tsakai > svnDumpTsakai.dump
> And it told me:
>   svnadmin: 'http://vixen.egcrc.org:8099/svn/tsakai' is an URL
>   when it should be a path
> 
> I haven't used the path in ages and can't remember how the url
> maps to the path.  Can someone please tell me how I can do what
> I mean to do above?
> 
> Thank you.
> 
> Regards,
> 
> Tena Sakai
> tsakai@gallo.ucsf.edu
> 
> ------------------------------------------------------
>
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=24
3
> 2168
> 
> Please start new threads on the <us...@subversion.apache.org> mailing
list.
> To subscribe to the new list, send an empty e-mail to <users-
> subscribe@subversion.apache.org>.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2432198

Please start new threads on the <us...@subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <us...@subversion.apache.org>.