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

Re: [PATCH] Repository root relative support for the command-line client

From: Karl Fogel <kfogel_at_red-bean.com>
Date: Tue, 29 Apr 2008 11:10:47 -0400

Daniel Shahaf <d.s_at_daniel.shahaf.co.il> writes:
> Your patch also seems to require a trailing slash:
>
> 0:% ./subversion/svn/svn info '^'
> subversion/libsvn_client/info.c:266: (apr_err=150000)
> svn: '^' is not under version control
> 1:% ./subversion/svn/svn info '^'/ | grep URL
> URL: https://svn.collab.net/repos/svn
> 0:%
>
> Is this intentional?
>
> Thanks,
>
> Daniel
> (who wishes he didn't have to quote ^ every time)

Why is it that you have to quote ^ every time? Is it your shell?

We raised this issue when the character was being chosen, and concluded
that it would not need to be quoted. Were we wrong for certain shells?
We knew about caret substitution, but I thought that only happened when
the caret is either appended the end of the line [1], or when there are
multiple carets [2], and that therefore it would not be a problem for
our usage. Were we wrong?

-K

[1] http://tomecat.com/jeffy/tttt/cshhistory.html

[2] http://www.oreilly.com/catalog/9780596526788/toc.html,
    Chapter 18 "Working Faster by Typing Less"
    (subsection "Substituting Across Word Boundaries")
    -*- and -*-
    http://lifehacker.com/software/notag/ctrl%252Br-to-search-and-other-terminal-history-tricks-278888.php#c1899027

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-04-29 17:11:18 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.