[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: Philip Martin <philip.martin_at_wandisco.com>
Date: Mon, 02 Dec 2013 09:58:28 +0000

Julian Foad <julianfoad_at_btopenworld.com> writes:

> 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?

At the FS level no date is just another txn prop change.

> 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.

Yes, that's what happens. It's already supported by the client to allow
"svn commit --with-revprop" to work against old servers that don't
support create-txn-with-revprops.

> Is something similar possible
> with svnserve?

Hmm, I think that's a gap in the proposal. There is no svnserve support
for svn_fs_change_txn_prop and "svn commit --with-revprop" fails with
not supported against old servers.

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Received on 2013-12-02 10:59:37 CET

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