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

Re: Using tilde in file:// URL

From: Stefan Sperling <stsp_at_elego.de>
Date: Mon, 17 Oct 2011 12:36:50 +0200

On Mon, Oct 17, 2011 at 06:28:09AM -0400, Richard Cavell wrote:
> When I say "working copy", I mean the current directory that I'm in, in my shell. As in, pwd prints the working directory.
>
> When I use subversion, either to practise or to do trivial coding exercises on my own computer, I like to set up a repo in my home directory and check it out to another directory within my home directory. But on different operating systems, the exact path of my home directory changes.
>
> In order to do svn checkout file:///Users/Richard/myrepo, I need to identify the path of ~. Is there a way that I can reference ~ directly?
>

No. At the moment, file:// URLs must contain absolute paths.

But you could try this trick: file://$HOME/myrepo
If HOME isn't set in your environment, just make sure your shell
initialisation scripts set and export it.
Received on 2011-10-17 12:37:28 CEST

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.