Checkout
C. Michael Pilato
committed
on 19 Oct 12
Add a property prefix definition reserved for extra-Subversion-al
uses, and tweak a provided hook script, to encourage standardization
of ho… Show more
Add a property prefix definition reserved for extra-Subversion-al

uses, and tweak a provided hook script, to encourage standardization

of how ephemeral txnprops are persisted.

* subversion/include/svn_props.h

 (SVN_PROP_REVISION_PREFIX): New #define.

* tools/hook-scripts/persist-ephemeral-txnprops.py

 (__doc__): Remove.

 (duplicate_ephemeral_txnprops): Drop 'prefix' parameter and

   handling.  Use the Python bindings' exposed "#defines" rather than

   hard-coding the prefix strings we're substituting.

 (usage_and_exit): Print docstring explicitly here (so we can use

   string formatting/substitution).

 (main): Drop 'prefix' argument handling.  Update call to

   duplicate_ephemeral_txnprops().

Suggested by: danielsh Show less