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.