brane@xbc.nu wrote:
>
> Quoting Josef Wolf <jw@raven.inka.de>:
>
> > On Thu, Aug 01, 2002 at 10:20:01AM +0200, brane@xbc.nu wrote:
> >
> > > Josef, would that be a good compromise?
> >
> > Definitely! Hmm... One step further could even be "svn ls %%/branches"
> > to see which branches are available or "svn cp %%/trink %%/tags/foo".
> > But this seems to be getting a big change, so it probably should be
> > left for after-1.0...
>
> No, that wouldn't be much of a problem. The arg parsing code would just convert
> %%/ to whatever the repos URL is. Once that is done, I think most commands would
> just work.
>
> > BTW: what about escaping on the command-line? AFAIK command.com would
> > stumble on %%? What about /bin/sh?
>
> Yes, shell escaping can be a problem. I'm not particularly wedded to %%; I'm
> sure we can find a prefix that's both easy to type and safe in the vast majority
> of cases/shells.
I'd prefer to use ^ instead because people are already used to meaning
the beginning of a string in regular expressions. Unfortunately, the
cmd.exe on my W2K box ignores it unless it is protected by "'s:
C:\>echo ^test
test
C:\>echo "^test"
"^test"
No Unix shells have an issue with ^.
Best,
Blair
--
Blair Zajac <blair@orcaware.com>
Web and OS performance plots - http://www.orcaware.com/orca/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 1 18:35:33 2002