'revert the local changes of this path. if rec is True, do so
recursively.'

def revert(self, rec=0):

    if rec:
        result = self._svn('revert    -R')
    else:
        result = self._svn('revert')
    return result
