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

svn revision r0 question

From: Barry Scott <barry_at_barrys-emacs.org>
Date: Sat, 27 Sep 2008 10:29:47 +0100

I'm fixing a problem in pysvn Workbench that is a result of
svn_client_logX returning
revision 0.

Revision 0 is not like the other revisions because it only the
svn:date revprop.

The svn log command filters out any entry that has a revision of 0
and any that
do not have a svn:message. (Filtering out svn:message == NULL seems
very odd
isn't svn:message mandatory in a repos?).

I can fix my problem in two ways:

1. Inside pysvn log() so that revision 0 is never returned.
2. In Workbench (built on top of pysvn) filter out revision 0 return
by the log() function.

My question is this: Is it useful to an application to be able to see
the date on
r0? If it is useful I do fix (2) if its not useful I do fix (1).

Barry

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-09-27 11:30:38 CEST

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