You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Daniel Shahaf <d....@daniel.shahaf.name> on 2012/04/02 16:12:40 UTC
Re: svn commit: r1308276 - /subversion/site/publish/faq.html
stsp@apache.org wrote on Mon, Apr 02, 2012 at 09:53:06 -0000:
> Author: stsp
> Date: Mon Apr 2 09:53:05 2012
> New Revision: 1308276
>
> URL: http://svn.apache.org/viewvc?rev=1308276&view=rev
> Log:
> * site/publish/faq.html
> (hidden-log): Mention the ^/ URL short cut here.
>
> Modified:
> subversion/site/publish/faq.html
>
> Modified: subversion/site/publish/faq.html
> URL: http://svn.apache.org/viewvc/subversion/site/publish/faq.html?rev=1308276&r1=1308275&r2=1308276&view=diff
> ==============================================================================
> --- subversion/site/publish/faq.html (original)
> +++ subversion/site/publish/faq.html Mon Apr 2 09:53:05 2012
> @@ -3508,7 +3508,12 @@ is still at r7, you do not see the log i
>
> <ol>
> <li>Run '<tt>svn log -rHEAD</tt>'.</li>
> -<li>Run '<tt>svn log URL</tt>', where URL is the repository URL.</li>
> +<li>Run '<tt>svn log URL</tt>', where URL is the repository URL.
> + If the current directory is a working copy you can use <tt>^/</tt>
> + as the URL to save some typing: <tt>svn log ^/</tt></li>
> +<li>Run '<tt>svn log URL</tt>', where URL is the URL of the
> + subdirectory you want to see the log for, for example:
Wondering if we should say "the full or ^/-abbreviated URL" so that
people who don't know what a URL is aren't mislead to think that ^/foo
is a URL.
> + <tt>svn log ^/trunk</tt></li>
> <li>Ask for just that file's log information, by running
> '<tt>svn log foo.c</tt>'.</li>
> <li>Update your working copy so it's all at r20, then run
>
>
Re: svn commit: r1308276 - /subversion/site/publish/faq.html
Posted by Daniel Shahaf <d....@daniel.shahaf.name>.
Konstantin Kolinko wrote on Tue, Apr 03, 2012 at 03:17:12 +0400:
> 2012/4/2 Daniel Shahaf <d....@daniel.shahaf.name>:
> > stsp@apache.org wrote on Mon, Apr 02, 2012 at 09:53:06 -0000:
> >> Author: stsp
> >> Date: Mon Apr 2 09:53:05 2012
> >> New Revision: 1308276
> >>
> >> URL: http://svn.apache.org/viewvc?rev=1308276&view=rev
> >> Log:
> >> * site/publish/faq.html
> >> (hidden-log): Mention the ^/ URL short cut here.
> >>
> >> Modified:
> >> subversion/site/publish/faq.html
> >>
> >> Modified: subversion/site/publish/faq.html
> >> URL: http://svn.apache.org/viewvc/subversion/site/publish/faq.html?rev=1308276&r1=1308275&r2=1308276&view=diff
> >> ==============================================================================
> >> --- subversion/site/publish/faq.html (original)
> >> +++ subversion/site/publish/faq.html Mon Apr 2 09:53:05 2012
> >> @@ -3508,7 +3508,12 @@ is still at r7, you do not see the log i
> >>
> >> <ol>
> >> <li>Run '<tt>svn log -rHEAD</tt>'.</li>
> >> -<li>Run '<tt>svn log URL</tt>', where URL is the repository URL.</li>
> >> +<li>Run '<tt>svn log URL</tt>', where URL is the repository URL.
> >> + If the current directory is a working copy you can use <tt>^/</tt>
> >> + as the URL to save some typing: <tt>svn log ^/</tt></li>
> >> +<li>Run '<tt>svn log URL</tt>', where URL is the URL of the
> >> + subdirectory you want to see the log for, for example:
>
> Two minor notes:
>
> 1. "^" serves as escape symbol in Windows command-line so there it
> needs to be quoted. E.g. this works: svn log "^/"
>
Let's just link to the book section that explains this. It covers
escaping.
> 2. I think it would be a good idea to always add "--limit N" to the log command.
+1
Re: svn commit: r1308276 - /subversion/site/publish/faq.html
Posted by Stefan Sperling <st...@elego.de>.
On Tue, Apr 03, 2012 at 03:17:12AM +0400, Konstantin Kolinko wrote:
> Maybe:
> [[[
> If the current directory is a working copy you can abbreviate the URL
> to repository root as ^/ to save some typing. Note, that on Windows
> the "^" symbol is special one and must be quoted. E.g.: svn log "^/"
> --limit 10
> ]]]
I like this suggestion. Committed a slightly tweaked version in r1308624.
Thanks!
Re: svn commit: r1308276 - /subversion/site/publish/faq.html
Posted by Konstantin Kolinko <kn...@gmail.com>.
2012/4/2 Daniel Shahaf <d....@daniel.shahaf.name>:
> stsp@apache.org wrote on Mon, Apr 02, 2012 at 09:53:06 -0000:
>> Author: stsp
>> Date: Mon Apr 2 09:53:05 2012
>> New Revision: 1308276
>>
>> URL: http://svn.apache.org/viewvc?rev=1308276&view=rev
>> Log:
>> * site/publish/faq.html
>> (hidden-log): Mention the ^/ URL short cut here.
>>
>> Modified:
>> subversion/site/publish/faq.html
>>
>> Modified: subversion/site/publish/faq.html
>> URL: http://svn.apache.org/viewvc/subversion/site/publish/faq.html?rev=1308276&r1=1308275&r2=1308276&view=diff
>> ==============================================================================
>> --- subversion/site/publish/faq.html (original)
>> +++ subversion/site/publish/faq.html Mon Apr 2 09:53:05 2012
>> @@ -3508,7 +3508,12 @@ is still at r7, you do not see the log i
>>
>> <ol>
>> <li>Run '<tt>svn log -rHEAD</tt>'.</li>
>> -<li>Run '<tt>svn log URL</tt>', where URL is the repository URL.</li>
>> +<li>Run '<tt>svn log URL</tt>', where URL is the repository URL.
>> + If the current directory is a working copy you can use <tt>^/</tt>
>> + as the URL to save some typing: <tt>svn log ^/</tt></li>
>> +<li>Run '<tt>svn log URL</tt>', where URL is the URL of the
>> + subdirectory you want to see the log for, for example:
Two minor notes:
1. "^" serves as escape symbol in Windows command-line so there it
needs to be quoted. E.g. this works: svn log "^/"
2. I think it would be a good idea to always add "--limit N" to the log command.
>
> Wondering if we should say "the full or ^/-abbreviated URL" so that
> people who don't know what a URL is aren't mislead to think that ^/foo
> is a URL.
Maybe:
[[[
If the current directory is a working copy you can abbreviate the URL
to repository root as ^/ to save some typing. Note, that on Windows
the "^" symbol is special one and must be quoted. E.g.: svn log "^/"
--limit 10
]]]
>
>> + <tt>svn log ^/trunk</tt></li>
>> <li>Ask for just that file's log information, by running
>> '<tt>svn log foo.c</tt>'.</li>
>> <li>Update your working copy so it's all at r20, then run
>>
>>
Best regards,
Konstantin Kolinko