We don't really control this if run via a script, which happens more often.
if ref.startswith(s):
warn("Branch '%s' used as commit in srclib '%s'" % (
s, srclib))
- for s in ['git clone', 'git svn clone', 'svn checkout', 'svn co', 'hg clone']:
- for flag in ['init', 'prebuild', 'build']:
- if not build[flag]:
- continue
- if s in build[flag]:
- # TODO: This should not be pedantic!
- pwarn("'%s' used in %s '%s'" % (s, flag, build[flag]))
if not curid:
print