This replaces calls to .rstrip('git'), .rstrip('svn') with a regex that takes the leading numbers and dots, and throws away the rest. This also moves the code up to the ConfigToolDepdency level, since these config tools are of various quality and some of them are good, and some are not. This shouldn't affect well behaved tools. This should future proof LLVM against future suffixes (like someone doing something strange like using Mercurial as a VCS).pull/2948/head
parent
e83fb35e41
commit
d889989ea1
2 changed files with 11 additions and 11 deletions
Loading…
Reference in new issue