Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cae3647d authored by LuK1337's avatar LuK1337 Committed by Sean McCreary
Browse files

repopick: Use project revision if available

* Fixes repopicking from repos synced under multiple paths + branches.

Change-Id: Icb165f3d9df67f1b11304e8d7ed955464dcb57bc
parent dc5051ce
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -259,7 +259,7 @@ if __name__ == '__main__':
                if remote.get('name') == project.get('remote'):
                    revision = remote.get('revision')
            if revision is None:
                revision = default_revision
                revision = project.get('revision', default_revision)

        if not name in project_name_to_data:
            project_name_to_data[name] = {}