Re: Using tilde in file:// URL
From: Richard Cavell <richardcavell_at_mail.com>
Date: Mon, 17 Oct 2011 06:28:09 -0400
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
On Mon, Oct 17, 2011 at 01:21, Richard Cavell <richardcavell_at_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.
|
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.