« MySQL Enterprise support - not that cool | Start | Couch potatoe »

OSX Umlaut svn problem

We found a workaround for the OSX svn problem: You might want to add this small pre-commit script to your svn which checks for umlauts before commit and gives the user a warning:

#!/bin/sh

REPOS="$1"
TXN="$2"

SVNLOOK=/usr/bin/svnlook

## NOTE: This is a quick hack! WILL let many "dangerous" characters pass!

if $SVNLOOK changed -t "$TXN" "$REPOS" | grep '^A.*\\195' >&2
then
echo "Auf diesem Server sind nur ASCII-Zeichen erlaubt!". >&2
exit 1
fi

exit 0

März 18, 2008 in Technology | Permalink

TrackBack

TrackBack-Adresse für diesen Eintrag:
http://www.typepad.com/services/trackback/6a00d834549a2969e200e55133537c8833

Listed below are links to weblogs that reference OSX Umlaut svn problem:

Kommentare