Accept commit ids shorter than 7 characters

Fixes truncation of shorter commit ids. Svn uses integers which can be 
shorter than 7 characters. Fixes #11.