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

Re: Can't get path to work on Windows

From: Robo <robo555_at_gmx.net>
Date: 2002-11-29 22:44:52 CET

Sorry, there's a wee typo in the previous message.

I used:

svnadmin create svn

instead of:

svnadmin create ath

I'm using svn version 0.15.0 r3687.

The root of the repository is e:\svn\, from the svnadmin create command, and
I want to create a new repository call ath inside that. So the root of the
ath project will be e:\svn\ath

But I can't create the directory, when I type

svn mkdir file:///e:/svn/ath

it just shows the error message mentioned, and no folder call "ath" is
created.

To add to the confusion, sometimes when I type that command, it creates an
empty folder call "Athletics" in e:\svn, I have no idea where it got the
name Athletics from. I've tried uninstalling svn, delete the svn directory,
then start over.

I've just tried Philip's suggestion and used

file:///e/svn/ath

But I got the message:

svn: Couldn't find a repository.
svn: Unable to open an ra_local session to URL
svn: svn_ra_local__split_URL: Unable to find valid repository
   (file:///e/svn/ath)

Robo

----- Original Message -----
From: "Philip Martin" <philip@codematters.co.uk>
To: <dev@subversion.tigris.org>
Sent: Saturday, November 30, 2002 3:14 AM
Subject: Re: Can't get path to work on Windows

> "Robo" <robo555@gmx.net> writes:
>
> > I've searched the archive, but still can't get svn to work properly for
the
> > windows path.
>
> Which version of Subversion are you using?
>
> > I've create a svn repository by:
> >
> > svnadmin create ath
>
> This creates a repository "ath" which is a folder "ath" on the
> physical disk. Is the path to that folder "e:/svn/ath"?
>
> > And that seemed to have gone OK, there's a new svn folder with various
> > folders inside.
> >
> > Then I did this:
> >
> > E:\>svn mkdir file:///e:/svn/ath -m 'Create new repos'
>
> If the path to the repository/folder is "e:/svn/ath" the above command
> is incorrect, you have to provide a name for the directory, so you
> need to use something like "e:/svn/ath/foo".
>
> I remember people have had problems using paths that contain drive
> letters. I thought these problems had been fixed, but I don't use
> Windows so I cannot be certain. There does appear to be code in
> libsvn_ra_local/split_url.c to handle drive letters.
>
> > And I got this message:
> >
> > Committed revision 1.
> > svn: The system cannot find the path specified.
> > svn: svn_io_file_open: can't open `.svn/lock'
>
> Really? This message indicates that you are attempting to modify a
> working copy. However the mkdir command with a file:// URL does not
> affect a working copy, it makes a directory directly in the
> repository.
>
> > And it didn't make any new folders inside my repository folder. I've
tried
>
> Subversion stores files and directories in a Berkeley DB database,
> which you will find in ath/db. So when you create a Subversion
> directory "foo" you will not see a folder "foo" on the physical disk
> inside the repository. If you check out a working copy you will get a
> folder "foo" in your working copy.
>
> To see whether a directory has been created in a repository try doing
>
> E:\> svn ls file:///e:/svn/ath
>
> > various other forms including but not limited to e:\\svn\\ath,
e:\svn\ath,
> > file://e:/svn/ath, all of them give similar error message, sometimes a
> > folder will get created, but again it'll fail on import.
>
> Import? You haven't mentioned import before.
>
> --
> Philip Martin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 29 22:45:52 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.