summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/fetch2/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/fetch2/__init__.py b/bitbake/lib/bb/fetch2/__init__.py
index f5a5928311..26ad388eb7 100644
--- a/bitbake/lib/bb/fetch2/__init__.py
+++ b/bitbake/lib/bb/fetch2/__init__.py
@@ -777,7 +777,8 @@ def get_srcrev(d, method_name='sortable_revision'):
777 # 777 #
778 format = d.getVar('SRCREV_FORMAT') 778 format = d.getVar('SRCREV_FORMAT')
779 if not format: 779 if not format:
780 raise FetchError("The SRCREV_FORMAT variable must be set when multiple SCMs are used.") 780 raise FetchError("The SRCREV_FORMAT variable must be set when multiple SCMs are used.\n"\
781 "The SCMs are:\n%s" % '\n'.join(scms))
781 782
782 name_to_rev = {} 783 name_to_rev = {}
783 seenautoinc = False 784 seenautoinc = False