|
Properly update git binary snapshots during pub upgrade.
Previously, the binaries were only updated if the version number had
changed. Now they're updated if just the commit changes. This also
improves the output of "pub upgrade" if a git dependency changes its
commit but not its version number.
R=rnystrom@google.com
BUG= 21971
Committed: https://code.google.com/p/dart/source/detail?r=42883
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+282 lines, -157 lines) |
Patch |
 |
M |
sdk/lib/_internal/pub/lib/src/solver/backtracking_solver.dart
|
View
|
1
|
2 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
M |
sdk/lib/_internal/pub/lib/src/source/git.dart
|
View
|
1
|
1 chunk |
+22 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sdk/lib/_internal/pub/test/get/git/check_out_and_upgrade_test.dart
|
View
|
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
sdk/lib/_internal/pub/test/global/activate/activate_git_after_hosted_test.dart
|
View
|
1
|
2 chunks |
+13 lines, -8 lines |
0 comments
|
Download
|
 |
M |
sdk/lib/_internal/pub/test/global/activate/git_package_test.dart
|
View
|
1
|
2 chunks |
+12 lines, -7 lines |
0 comments
|
Download
|
 |
M |
sdk/lib/_internal/pub/test/global/activate/reactivating_git_upgrades_test.dart
|
View
|
1
|
3 chunks |
+22 lines, -13 lines |
0 comments
|
Download
|
 |
A + |
sdk/lib/_internal/pub/test/snapshot/updates_snapshot_for_git_dependency_test.dart
|
View
|
|
1 chunk |
+21 lines, -19 lines |
0 comments
|
Download
|
 |
M |
sdk/lib/_internal/pub_generated/lib/src/solver/backtracking_solver.dart
|
View
|
1
|
1 chunk |
+87 lines, -48 lines |
0 comments
|
Download
|
 |
M |
sdk/lib/_internal/pub_generated/lib/src/source/git.dart
|
View
|
1
|
1 chunk |
+24 lines, -2 lines |
0 comments
|
Download
|
 |
M |
sdk/lib/_internal/pub_generated/test/get/git/check_out_and_upgrade_test.dart
|
View
|
1
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
sdk/lib/_internal/pub_generated/test/global/activate/activate_git_after_hosted_test.dart
|
View
|
1
|
2 chunks |
+13 lines, -8 lines |
0 comments
|
Download
|
 |
M |
sdk/lib/_internal/pub_generated/test/global/activate/git_package_test.dart
|
View
|
1
|
2 chunks |
+11 lines, -7 lines |
0 comments
|
Download
|
 |
M |
sdk/lib/_internal/pub_generated/test/global/activate/reactivating_git_upgrades_test.dart
|
View
|
1
|
2 chunks |
+20 lines, -13 lines |
0 comments
|
Download
|
 |
A + |
sdk/lib/_internal/pub_generated/test/snapshot/updates_snapshot_for_git_dependency_test.dart
|
View
|
|
1 chunk |
+22 lines, -19 lines |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|