[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: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Tue, 19 May 2020 17:12:17 +0000

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.
Received on 2020-05-19 19:12:28 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.