DescriptionMake gclient ready for the Blink (DEPS to main project) transition
This CL makes gclient understand correctly whether a git project is
being moved from DEPS to an upper project and vice-versa.
The driving use case for this is the upcoming Blink merge, where
third_party/Webkit will be removed from DEPS (and .gitignore) and will
become part of the main project.
At present state, gclient leaves the .git folder around when a project
is removed from DEPS, and that causes many problems.
Furthermore this CL solves the performance problem of bisecting across
the merge point. The subproject's (Blink) .git/ folder is moved to a
backup location (in the main checkout root) and is restored when moving
backwards, avoiding a re-fetch when bisecting across the merge point.
BUG=431469
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=293329
Patch Set 1 #Patch Set 2 : more work (Test pass) #Patch Set 3 : Almost there, needs some polishing and discussion. #Patch Set 4 : Cleanup #
Total comments: 1
Patch Set 5 : Use os.sep (for Win) and address nits rebase #Patch Set 6 : Fix tests #
Messages
Total messages: 22 (9 generated)
|