[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: Blair Zajac <blair_at_orcaware.com>
Date: Sat, 27 Sep 2008 10:09:06 -0700

Ben Collins-Sussman wrote:
> 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.

Why would we ever allow svn:date to be removed?

Blair

---------------------------------------------------------------------
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 19:09:41 CEST

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