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

Re: Feature Request: revprop for "svn:client" Was: Tree conflict on Fresh checkout

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: Fri, 21 Jun 2013 14:44:20 -0400

On 06/21/2013 02:22 PM, James Hanley wrote:
> In hind site, if there was a revprop that included the version of the
> client, if an artifact issue (such as this) is discovered in the repository,
> this rev-prop can succinctly tell the administrator which version of the
> client introduced the issue for reporting back to support. It could also
> allow (via pre-commit hook script) the ability to "blacklist" versions of
> the client that have issues.

In Subversion 1.8, I added code to the server and client layers to propagate
the client program's "user agent" string and version number of the
Subversion libraries in use. This information gets set as an "ephemeral
transaction property" on the commit transaction, which is to say that it
lives in a regular transaction property, but that property is automatically
deleted from the transaction before the commit is finalized. The cool this
is that admins can use their pre-commit hook scripts to copy any ephemeral
transaction property that they want to persist post-commit to another
property name (that *won't* get auto-removed).

See http://subversion.apache.org/docs/release-notes/1.8.html#ephemeral-txnprops
for details.

-- 
C. Michael Pilato <cmpilato_at_collab.net>
CollabNet   <>   www.collab.net   <>   Enterprise Cloud Development

Received on 2013-06-21 20:44:54 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.