add svndiff function.