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

Re: svn revision r0 question

From: Ben Collins-Sussman <sussman_at_red-bean.com>
Date: Sat, 27 Sep 2008 08:14:01 -0500

On Sat, Sep 27, 2008 at 7:49 AM, Branko ╚ibej <brane_at_xbc.nu> wrote:
> Barry Scott wrote:
>> 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?).
> What is svn:message?
> And WFIW, no revprops should be mandatory, ever.

No revprops are ever required to exist. No 3rd-party program should
ever assume that 'svn:date', 'svn:author', or 'svn:log' exist; it's
not an error for any of them to not exist. svn:author only exists if
the commit was authenticated; svn:log only exists if someone typed a
message; and even though svn:date is added by the repository at
commit-time, a committer might have used 'svn propchange' to simply
remove it. These are all legitimate situations.
Received on 2008-09-27 15:14:15 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.