From: Thibault Saunier Date: Wed, 21 Nov 2018 23:29:28 +0000 (-0300) Subject: update: Take into account the path attribute of projects X-Git-Tag: 1.19.3~481^2~271 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b174f7a9a1816314219274dae2f5d295c84941ee;p=platform%2Fupstream%2Fgstreamer.git update: Take into account the path attribute of projects --- diff --git a/git-update b/git-update index 307bda3..b2e4cb1 100755 --- a/git-update +++ b/git-update @@ -23,12 +23,13 @@ def manifest_get_commits(manifest): remotes[child.attrib['name']] = child.attrib['fetch'] if child.tag == 'project': name = child.attrib['name'] + path = child.attrib.get('path', name) remote = child.attrib.get('remote') if remote: - res[name] = ['FETCH_HEAD', [os.path.join(remotes[remote], name), child.attrib['revision']]] + res[path] = ['FETCH_HEAD', [os.path.join(remotes[remote], name), child.attrib['revision']]] else: - res[name] = [child.attrib["revision"], []] + res[path] = [child.attrib["revision"], []] return res