maruel@chromium.org
8ede00e1af
Add the capability to filter out files on try job with regexp.
...
By default, filters out 'ChangeLog'. A pain directly coming from Webkit.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/543012
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@36008 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
maruel@chromium.org
fd9cbbb7c4
Fix case sensitivity issues and svn move patches for --sub_rep on Windows.
...
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/538009
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@35839 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
maruel@chromium.org
54d1f1ae2f
Abort gclient sync when a svn command fails.
...
TEST=a svn locked directory will stop a gclient sync
BUG=none
Review URL: http://codereview.chromium.org/529002
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@35815 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
maruel@chromium.org
0c4016967e
Fixed wrong argument placement.
...
TEST=none
BUG=none
TBR=bradnelson
Review URL: http://codereview.chromium.org/519073
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@35688 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
maruel@chromium.org
ce3c8621ea
Style fix.
...
TEST=none
BUG=none
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@35685 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
maruel@chromium.org
1c7db8e6ee
Add "diff against" support when sending try patches.
...
This is mostly useful with git when diffing against arbitrary branches.
Review URL: http://codereview.chromium.org/524046
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@35684 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
maruel@chromium.org
01d8c1d113
Fix checkout root detection for git.
...
Add shorthand parameters.
Stop changing the logging level in gcl and some logging changes.
Change SCM.GetCheckoutRoot() to SCM.checkout_root.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/523094
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@35683 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
maruel@chromium.org
ee4071d443
Add gclient_scm.GitWrapper.pack()
...
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/507070
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@35177 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
maruel@chromium.org
f7ae6d550e
Add --sup_rep support to trychange.py.
...
This adds the functionality to try a job spread across multiple checkouts.
TEST=fixed unit tests and tested with hybrid svn-git checkouts
BUG=none
Review URL: http://codereview.chromium.org/504085
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@35168 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
maruel@chromium.org
c308a74419
Fix a typo in scm.GIT.GetBranch() and add --dry_run to trychange.py to ease testing.
...
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/503085
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@35155 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
maruel@chromium.org
a93717670e
Add full_move flag to GIT.GenerateDiff and Factor out FindGclientRootDir into gclient_utils.
...
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/501171
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@35154 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
maruel@chromium.org
b24a8e1a5a
Remove more logic out of trychange.py into scm.py.
...
The goal is to (almost) completely remove git-try.
TEST=none
Review URL: http://codereview.chromium.org/501166
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@35144 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
maruel@chromium.org
f2f9d554d4
Move GenerateDiff into a common function.
...
Fix standalone trychange usage on both svn and git.
Remove implicit dependency on git-cl.
TEST=unit test
Review URL: http://codereview.chromium.org/507061
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@35121 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
maruel@chromium.org
94b1ee9dbd
Factor out gcl.GetRepositoryRoot() into scm.SVN.GetCheckoutRoot()
...
This is to reduce trychange.py dependency on gcl.py
Review URL: http://codereview.chromium.org/502085
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@35055 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
maruel@chromium.org
2185f0069a
One liner fix.
...
Review URL: http://codereview.chromium.org/502075
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@34984 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
maruel@chromium.org
0fca4f3746
Get rid of gcl.ReadFile.
...
Review URL: http://codereview.chromium.org/501106
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@34950 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
maruel@chromium.org
b71b67e2aa
Add an automatic retry on some svn commands.
...
Subversion's client just bails out too early too often.
Review URL: http://codereview.chromium.org/437015
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@32967 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
maruel@chromium.org
720d9f3c22
Fix path on Windows.
...
TBR=nsylvain
Review URL: http://codereview.chromium.org/430004
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@32748 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
maruel@chromium.org
c78f246ee4
Add scm.*.GetEmail() to retrieve the user email. Use this email for try job emails.
...
TEST=not much
BUG=none
Review URL: http://codereview.chromium.org/399070
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@32720 0039d316-1c4b-4281-b951-d872f2087c98
15 years ago
maruel@chromium.org
5aeb7dd54c
Reapply 32057, 32058, 32059, 32062 and fixes problems introduced by these changes.
...
Noteworthy change is scm.SVN.GetFileProperty calls Capture instead of Run.
TEST=unit tests
BUG=none
Review URL: http://codereview.chromium.org/399009
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@32181 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
261eeb5e93
Revert 32057, 32058, 32059, 32062 because they still have unwanted side-effects.
...
Revert "Group SCM-specific functions in classes to simplify generalization of the interface."
Revert "Fix 2 recently introduced errors."
Revert "Fix a variable aliasing error."
Revert "Fix typo."
TBR=dpranke
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/391075
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@32065 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
926ae6a75f
Fix 2 recently introduced errors.
...
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/391072
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@32058 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
85a3192f9c
Group SCM-specific functions in classes to simplify generalization of the interface.
...
TEST=none
BUG=none
Move scm functions into a class to make it simpler to manage.
Review URL: http://codereview.chromium.org/391052
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@32057 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
d5800f1996
Split scm-specific functions out of gclient_scm.py to scm.py.
...
Reapplies r31809 is typo fixed.
TEST=unit tests fixed and reclassified
BUG=none
Review URL: http://codereview.chromium.org/393001
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@31812 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
0563d6c747
Revert "Split scm-specific functions out of gclient_scm.py to scm.py."
...
This reverts commit 7489404c56dcc725c7c13214f410b2d375a6630a.
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@31810 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago
maruel@chromium.org
8ce0a13a85
Split scm-specific functions out of gclient_scm.py to scm.py.
...
TEST=unit tests fixed and reclassified
BUG=none
Review URL: http://codereview.chromium.org/389020
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@31809 0039d316-1c4b-4281-b951-d872f2087c98
16 years ago