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

"svnlook dirs-changed" on empty repository fails with a strange error

From: Dmitry Pavlenko <pavlenko_at_tmatesoft.com>
Date: Tue, 17 Jul 2012 14:10:31 +0200

Hello,

If one runs "svnlook dirs-changed" on an empty repository, svn prints a strange error (reproducible
for versions from 1.6 to trunk):

$ svnadmin create svn.repo
$ svnlook dirs-changed svn.repo/
svnlook: E160006: Transaction '(null)' is not based on a revision; how odd
$ svnlook dirs-changed svn.repo/ -r0
svnlook: E160006: Transaction '(null)' is not based on a revision; how odd

The question is: what behaviour is expected? Daniel supposed that "svnlook dirs-changed" should exit
with an error.

http://colabti.org/irclogger/irclogger_log/svn-dev?date=2012-07-16#l90

 But also I heard another opinion that as r0 is always empty (is that true?), svnlook should just
show no changes. (If r0 can contain some directories, svnlook could display those directories from
r0). I agree with the second opinion.
Received on 2012-07-17 14:12:20 CEST

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

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