add casemapping
fix bug where id for svn revision is integer only