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? Richard ----- Original Message ----- From: Andy Levy Sent: 10/17/11 08:18 PM To: Richard Cavell Subject: Re: Using tilde in file:// URL On Mon, Oct 17, 2011 at 01:21, Richard Cavell <richardcav...@mail.com> wrote: > Hi, everyone. > > I do this: > > $ cd ~ > $ svnadmin create myrepo > $ svn co file:///Users/Richard/myrepo repo > > Now, is it possible for me to somehow shorten that file:// URL to include > the working directory or home directory? You don't ever use URLs to reference the working copy, so that's a moot point. To shorten the URL when checking out? You've already done 3/4 of the steps here, it would have taken you less time to try it yourself than to send this email. It doesn't work on 1.6.16 on Snow Leopard.