DescriptionChanged the behaviour of '--transitive' in gclient.py to use revision instead of timestamp for identical repositories.
Here's some background why we need this:
We discovered that google code defines the timestamp of a revision to be the time when a commit was started
rather than when it was finished (apache subversion takes the timestamp when the commit transaction is finished).
This can result in a situation where revision R(i-1) has a higher timestamp than Ri.
See bug: https://code.google.com/p/support/issues/detail?id=30419
When using 'gclient --transitive' we effectively do date-based checkouts.
If a parent has a dependency (without a ...@revision) and that dependency lives in the same repository as the parent does
we'd like to checkout the exact same revision as the parent (if we do a date-based checkout as we do now the google code
bug can result in a situation where we don't get the same revision).
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=194852
Patch Set 1 #
Total comments: 13
Patch Set 2 : #
Total comments: 4
Patch Set 3 : #
Total comments: 16
Patch Set 4 : #
Total comments: 10
Patch Set 5 : #
Messages
Total messages: 13 (0 generated)
|