Re: Specifying commit timestamps over RA
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Thu, 28 Nov 2013 12:51:07 +0000 (GMT)
Philip Martin wrote:
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.
Most normal Subversion clients today never send an svn:date property, so simply omitting it isn't enough -- unless there's also a way to know when we're currently talking to a client that would definitely send it if it is wanted (in other words, a way to configure "never auto-set the date" for certain clients/connections/scenarios).
> Also we can't assume that the server receives the requested svn:date at
... or explicitly un-set ...
> otherwise we use 'now'.† Either we mark the txn at the start
This is an archived mail posted to the Subversion Dev mailing list.