-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
common: set revision according to remote url and branch
The previous implementation was setting the revision of a project according to only the remote url. Indeed getRevision returned a list of url - revision. But that doesn't work if a remote url is used several times with different path/branch. Example: project A: remote url X, branch Y, path project-a-path project B: remote url X, branch Z, path project-b-path With the previous implementation, both projects will get the same revision since they are using same remote url (same entry in the revisionTable). To fix this issue, we now check the remote url AND the branch. getRevision return the url, revision AND the branch, the branch returned doesn't contain any suffix (tags ...). Signed-off-by: Julien Masson <[email protected]>
- Loading branch information
Showing
2 changed files
with
44 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters