2012/4/2 Daniel Shahaf <d...@daniel.shahaf.name>:
> s...@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&nbsp;log&nbsp;-rHEAD</tt>'.</li>
>> -<li>Run '<tt>svn&nbsp;log&nbsp;URL</tt>', where URL is the repository 
>> URL.</li>
>> +<li>Run '<tt>svn&nbsp;log&nbsp;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&nbsp;log&nbsp;^/</tt></li>
>> +<li>Run '<tt>svn&nbsp;log&nbsp;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&nbsp;log&nbsp;^/trunk</tt></li>
>>  <li>Ask for just that file's log information, by running
>>      '<tt>svn&nbsp;log&nbsp;foo.c</tt>'.</li>
>>  <li>Update your working copy so it's all at r20, then run
>>
>>

Best regards,
Konstantin Kolinko

Reply via email to