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

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

From: Thorsten Schöning <tschoening_at_am-soft.de>
Date: Mon, 18 May 2020 18:20:14 +0200

Hi all,

I'm having trouble understanding a problem with comparing paths in
WebSVN: Comparing two paths uses HEAD as revision specifier by default
and works in one setup and doesn't in another. The root cause is that
accessing the history of the repo simply doesn't provide any results
when used like the following:

> C:\[...]>svn log -r HEAD C:\[...]\trunk --xml --limit 1
> <?xml version="1.0" encoding="UTF-8"?>
> <log>
> </log>

Using the concrete revision number the working copy is in or some
different keyword works:

> C:\[...]>svn log -r COMMITTED C:\[...]\trunk --xml --limit 1
> <?xml version="1.0" encoding="UTF-8"?>
> <log>
> <logentry
> revision="667">
[...]
> </logentry>
> </log>

So why does HEAD doesn't provide any details? Thanks!

Mit freundlichen Grüßen,

Thorsten Schöning

-- 
Thorsten Schöning       E-Mail: Thorsten.Schoening_at_AM-SoFT.de
AM-SoFT IT-Systeme      http://www.AM-SoFT.de/
Telefon...........05151-  9468- 55
Fax...............05151-  9468- 88
Mobil..............0178-8 9468- 04
AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln
AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow
Received on 2020-05-18 18:20: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.