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

Re: Relative URLs on command line

From: Stefan Sperling <stsp_at_elego.de>
Date: Tue, 21 Mar 2017 14:31:14 +0900

On Tue, Mar 21, 2017 at 12:25:25AM +0000, Daniel Becroft wrote:
> > svn switch ^/trunk
> svn: E125002: '/trunk' does not appear to be a URL
>
> > svn merge -c 10000 ^/trunk .
> svn: E155007: 'C:\trunk' is not a working copy
>
> Everything works fine when using the full URLs, but I expected the relative
> paths to work.
> Environment: Windows 10 64-bit, version 1.9.5-SlikSvn (SlikSvn/1.9.5)
>
> Is this a *nix-only feature?

In Windows cmd.exe ^ is a special character and must be escaped with itself.
So try again with: svn switch ^^/trunk
Received on 2017-03-21 06:31:46 CET

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.