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

Re: FEATURE REQUEST: svnadmin to accept URL notation file:///

From: Peter Samuelson <peter_at_p12n.org>
Date: 2007-04-27 00:58:00 CEST

[Josh Gilkerson]
> Isn't this a bug? I (and probably most others) would assume that a
> valid path wouldn't be refused because it looks like a url. Couldn't
> svnadmin check to see if 'file:/test' exists and is a directory
> before giving the "is a URL" error?

In essence, you are saying that _all_ of the svn subcommands (cp, rm,
diff, etc.) that accept either a path or a URL are buggy.

I'd file this bug under "Well, Don't Do That Then". There is no need
to create paths that resemble URLs, and if you're going to do it,
there's no need to refer to them with multiple / characters in a row.

Adding a flag to disambiguate between 'svn cp URL URL' or 'svn cp PATH
PATH' would annoy me and, I suspect, almost everyone else.

Received on Fri Apr 27 00:58:09 2007

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.