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

Re: Specifying commit timestamps over RA

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Thu, 28 Nov 2013 17:28:35 +0200

Julian Foad wrote on Thu, Nov 28, 2013 at 12:51:07 +0000:
> Philip Martin wrote:
> > We need some indication that the client has explicitly set svn:date,
> > including deleting it to indicate a revision with no date.
>
> How would a client indicate that it wants the commit to have no date property at all?
>
> I agree this is necessary in order to correctly replicate any arbitrary repository, even though it's unusual.
>
> For HTTP connections, I suppose we could require the client to send an explicit PROPPATCH to un-set the date. Is something similar possible with svnserve?
>
> I would really hate to make an exception to require the non-atomic commit-then-revprop-change pattern for this case.

You'd need to do a revprop change anyway to set svn:author.

(If the mirror is ≥2 revisions behind the master, 'svnsync sync' will
authenticate itself as the same username for both revisions; authz
settings on the mirror server are not relevant, it simply never learns
the identity of the younger-revision-it-lacks' author until the revprop
change.)
Received on 2013-11-28 16:30:05 CET

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.