Opened on 01/11/2015 at 11:04:27 PM
Closed on 01/12/2015 at 07:05:03 PM
#1777 closed defect (fixed)
ensure_dependencies.py fails to detect unknown Git revisions
Reported by: | trev | Assignee: | trev |
---|---|---|---|
Priority: | P1 | Milestone: | |
Module: | Automation | Keywords: | |
Cc: | Blocked By: | ||
Blocking: | #1588 | Platform: | Unknown |
Ready: | yes | Confidential: | no |
Tester: | Verified working: | ||
Review URL(s): |
Description
How to reproduce
- Clone an older dependency state into a Git repository.
- Update dependency to point to the latest repository.
- Run ensure_dependencies.py
Observed behaviour
ensure_dependencies.py attempts to update the dependency without fetching new data and fails. This is a bug in Git.get_revision_id(), the current implementation will happily declare any revision ID as existing.
Expected behaviour
ensure_dependencies.py should fetch new data from the remote repository first and only update after that.
Attachments (0)
Change History (2)
Note: See
TracTickets for help on using
tickets.
Fixed: https://hg.adblockplus.org/buildtools/rev/97cb5aecb7df