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

Documentation of what transaction properties do, and svn:date

From: David Glasser <glasser_at_mit.edu>
Date: 2006-08-14 19:41:59 CEST

Right now, it's not actually stated anywhere that transaction
properties become revision properties. Attached are two flavors of a
patch to add that.

One of them just states that transaction properties become revision
properties; the other points out the caveat that svn:date is treated
specially and essentially cannot be set to something custom during a
commit. This is currently undocumented behavior; in my opinion,
explicitly calling svn_fs_change_txn_prop(txn, "svn:date", date, pool)
should in fact allow you to set the svn:date prop to a value of your
choice. (The only real problem I can see with this is that right now,
you need to activate revprop changes to allow svn:date to be set to
non-current times; if svn_fs_change_txn_prop actually did what it
looked like for svn:date, that wouldn't be the case.)

(A middle ground would be to say that non-svn: transaction properties
become revision properties, and that svn: transaction properties may
behave in an unspecified manner.)

--dave

[[[
* subversion/include/svn_fs.h:
   Document that transaction properties become revision properties.
]]]

-- 
David Glasser | glasser_at_mit.edu | http://www.davidglasser.net/



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Mon Aug 14 19:44:42 2006

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.