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

Re: [PATCH] issue #3620: svn add ^/ triggers assertion failure

From: Hyrum K. Wright <hyrum_wright_at_mail.utexas.edu>
Date: Fri, 23 Apr 2010 16:56:04 -0500

On Fri, Apr 23, 2010 at 4:24 PM, Stefan Sperling <stsp_at_elego.de> wrote:

> ...
>
> We should also consider changing the way "^/" is interpreted.
> Maybe only commands that expect URLs as arguments should expand "^/"
> to a URL? That way the above error would become:
>
> $ svn add ^/
> svn: warning: '/path/to/working/copy/^' not found
>

I think it's best to consistently expand "^/". In my mind the above should
be interpreted as:
$ svn add http://svn.example.com/repos/

which would then generate whatever warning it should.

The shell doesn't selectively expand wildcards and such depending on the
Subversion command; selective expanding our own syntactic shortcuts would
just lead to more confusion.

-Hyrum
Received on 2010-04-23 23:56:35 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.