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

Re: Why does acessing logs using "-r HEAD" doesn't provide results?

From: Lorenz <lorenznl_at_yahoo.com>
Date: Wed, 20 May 2020 05:27:24 +0000

Daniel Shahaf wrote:

>Lorenz wrote on Tue, 19 May 2020 05:22 +0000:
>> Thorsten Schöning wrote:
>> >So why does HEAD doesn't provide any details? Thanks!
>>
>> though Daniel mentions it already in the first third of his first
>> sentence, I wanted to point out the most likely reason more
>> explicitly:
>>
>> Because --limit relates to overall repository revisions, not path
>> relates revisions:
>
>--limit doesn't work the way you say. If you run «svn log --limit=50
>TARGET» and TARGET has been touched by at least 50 commits, you'll get
>50 entries in the output, regardless of whether those 50 revisions were
>consecutive or not. In particular, «svn log -rHEAD:0 -l1» will _always_
>print something.

jep, I got thrown off by "svn -rHEAD log" really meaning "give me the
log for HEAD", not "start showing logs from HEAD".

So using --limit with log for any single revision is superfluous.

-- 
Lorenz
Received on 2020-05-20 07:28:56 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.