apply_auto-props.sh 941 B

1234567891011121314151617181920
  1. #!/bin/bash
  2. #
  3. # build/svn/apply_auto-props.sh
  4. # -----------------------------
  5. # Purpose: Script to apply svn:auto-props to all files that are already in the working copy.
  6. # Notes : This script requires a current svn_apply_autoprops.py from subversion trunk to be in path.
  7. # (see <https://svn.apache.org/repos/asf/subversion/trunk/contrib/client-side/svn_apply_autoprops.py>)
  8. # The svn_apply_autoprops which comes with current subversion 1.8.9 will NOT work.
  9. # This script will recursively apply svn:auto-props (as gathered from the current directory)
  10. # to all files in and below the current directory.
  11. # Authors: OpenMPT Devs
  12. # The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
  13. #
  14. set -e
  15. echo "[auto-props]" > auto-props.list
  16. svn pg svn:auto-props >> auto-props.list
  17. svn_apply_autoprops.py --config auto-props.list > auto-props.log 2>&1
  18. rm auto-props.list