fn revision(location: &str) -> Result<(&str, Option<String>)>
Separate the optional revision delimiter from the repository path.