Commit Graph

18 Commits (ed8b178cfa252caebab695bc3ffab6c0a381a7f5)

Author SHA1 Message Date
msb@chromium.org d065eccd01 gclient: update git-cl whenever git-cl is run and not when gclient is run
Rather than updating git-cl whenever gclient is invoked, update it
whenever git-cl is invoked.

In the chromium-os workflow, folks often run git-cl but rarely run gclient.
This results in folks running an older git-cl which may not
have the latest features/fixes.

TEST=

Tested that git-cl is updated when it is stale, git-cl is cloned when it doesn't exist and is not updated when DEPOT_TOOLS_UPDATE=0

Review URL: http://codereview.chromium.org/2962013

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@52236 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
nasser@codeaurora.org e42a1939f1 Fix for git-svn rebase bug
git-svn rebase will always output 'Current branch <> is up-to-date' when the
branch is up-to-date, even if you pass the --quiet flag(s). This change
specifically squelches that message.

Review URL: http://codereview.chromium.org/555183

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@37696 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
maruel@chromium.org 8d4c15c3ba Change to a git repo before checking git-svn version
TEST=none
BUG=none
R=maruel

Patch contributed by Nasser <nasser@codeaurora>

Review URL: http://codereview.chromium.org/530001

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@35817 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
maruel@chromium.org 8dd7cc5c2e git svn --version doesn't work when called outside a git checkout.
TEST=none
BUG=none
TBR=nasser

Review URL: http://codereview.chromium.org/523166

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@35800 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
maruel@chromium.org f3909bf2d3 Check for the existence of git before running commands.
Checks in the gclient wrapper and when running any gclient git command.

TEST=none
BUG=none

Patch contributed by Nasser <nasser@codeaurora>

Review URL: http://codereview.chromium.org/518064

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@35762 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
thestig@chromium.org 6df3334ceb Mark depot_tools scripts as bash scripts.
BUG=13668
TEST=none
Review URL: http://codereview.chromium.org/203075

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@26262 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
chase@chromium.org cabf2adf7b Replace git-try stub with actual git-try script.
BUG=none
TEST=none
TBR=maruel
Review URL: http://codereview.chromium.org/173246

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@24060 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
sky@chromium.org 2191458515 Gets gclient to work in emacs again.
Also fixes bug where gclient fails because options isn't defined.


git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@19498 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org 717e1ce5a8 Use git svn rebase instead of git svn fetch & git svn merge
TEST=none
BUG=none

Review URL: http://codereview.chromium.org/147014

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@19277 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org 522ca09c54 Reapply 18633 that was reverted in 18634 because bootstrap/gclient.sh was not found.
Now update git depot_tools checkouts, also add automatic update for git-cl-repo and git-try-repo.

The difference with 18633 is that it leaves bootstrap/gclient.sh along. I'll remove it in a month or so to not break anyone in the meantime.

TEST=none
BUG=none
TBR=evan
Review URL: http://codereview.chromium.org/129001

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18637 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org 0a3488a5a8 Revert 18633
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18634 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org 25a8081d37 Now update git depot_tools checkouts, also add automatic update for git-cl-repo and git-try-repo.
TEST=none
BUG=none

Review URL: http://codereview.chromium.org/125259

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18633 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org 775a79c5f0 It seems it helps on certain cygwin setup.
Ah cygwin...

Patch contributed by cmp@google.com

TBR=nsylvain
TEST=none
BUG=none

Review URL: http://codereview.chromium.org/125249

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@18613 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org beffe1267d Fix parameter mangling.
TEST=none
BUG=none

Review URL: http://codereview.chromium.org/118451

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@17974 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org cf1e53b669 Fix the gclient trampoline on cygwin to redirect to the batch file.
TBR=bradnelson
Review URL: http://codereview.chromium.org/115061

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@15496 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@google.com 820410ca10 Use the exec statement to fix the control flow.
TBR=nsylvain
Review URL: http://codereview.chromium.org/93110

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@14404 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@google.com 9b613270be Fix gclient on posix platforms.
Grab the latest gcl.py and presubmit.py scripts.

TBR=nsylvain
Review URL: http://codereview.chromium.org/93108

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@14403 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@google.com fb2b8eb2e2 Create the Next Generation of depot_tools. Eh.
Review URL: http://codereview.chromium.org/92087

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@14349 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago