$ cd $CHROMIUM_REPO/src
$ export BROKEN_LIB=whatever_you_borked
# Blow away broken module$ rm -rf third_party/$BROKEN_LIB# This re-bootstraps the git config from DEPS, if I understand correctly.$ git submodule init third_party/$BROKEN_LIB# This makes sure that your repo URL is up to date, and maybe some other stuff.$ git submodule sync third_party/$BROKEN_LIB# Checks out the specific pinned revision specified in the DEPS. This will restore the module (clone its repo) if it has been deleted.$ git submodule update third_party/$BROKEN_LIB
$ cd third_party/$BROKEN_LIB$ git status# On branch master# Your branch is behind 'origin/master' by 2 commits, and can be fast-forwarded.# (use "git pull" to update your local branch)## Changes not staged for commit:# (use "git add/rm <file>..." to update what will be committed)# (use "git checkout -- <file>..." to discard changes in working directory)## deleted: README.chromium# deleted: [whatever_you_borked].gyp#no changes added to commit (use "git add" and/or "git commit -a")
--
--
Chromium Developers mailing list: chromi...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-dev
--
I've been using git for Chromium development since it was just a bunch
of made-up stuff from Evan, and I have no idea how to parse what
you're saying, here. I'm sure I could figure it out, given sufficient
time, but honestly I'd rather have something like:
gclient sync --reset
which could act as the omnitool to just fix the heck out of everything.
[No, I'm not offering to write it. But I am annoyed that deleting a
directory and re-syncing is apparently no longer sufficient to fix
things. I've had to do that a number of times, and I _never_
intentionally do work in non-Chromium repos we pull in.]