Fix svn may print more than one line for directories