Fork from http://slughelper.codeplex.com/SourceControl/latest