> -----Original Message-----
> From: Barry Scott [mailto:barry_at_barrys-emacs.org]
> Sent: Saturday, February 07, 2009 12:40 PM
> To: dev_at_subversion.tigris.org
> Subject: is Author optional in a svn?
>
> I have a report that a user that a repos that is updated by Visual SVN
> does ends up with no author used on commits. Thus when pysvn looks
> for the author field of a log there is NULL.
>
> Is this considered to be reasonable to omit author for a commit?
>
> If its reasonable I'll fix pysvn Workbench to work with optional
> author otherwise I'll push back on the user to report a bug in
> Visual SVN.
The author field will be blank if the user committed to a repository that
allows anonymous commits and doesn't force a username.
As svn propdel allows removing the author field, I think you should assume
that every once in a while you can see revisions without an author. (As
application developer that is).
But in practice I would just make sure that such revisions would never
appear in the repositories I manage. I would do this by checking for this in
the pre-rev-prop-change hook.
Bert
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1118593
Received on 2009-02-07 12:51:31 CET