- 11 Sep, 2013 1 commit
-
-
chrisphan@chromium.org authored
It seems to just work. R=dpranke@chromium.org BUG=23608 Review URL: https://chromiumcodereview.appspot.com/23766025 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@222431 0039d316-1c4b-4281-b951-d872f2087c98
-
- 05 Sep, 2013 1 commit
-
-
rmistry@google.com authored
Tested with: * Unit tests have been added and they work. * I also tested end-to-end using a skiabot-test repository in https://skia.googlesource.com/ (it is hidden). CLs I tested with are: ** https://codereview.chromium.org/22797006/ : Add whitespace in file1 ** https://codereview.chromium.org/22815013/ : Remove whitespace from file1 ** https://codereview.chromium.org/22867025/ : Add new files in directories ** https://codereview.chromium.org/22901018/ : Edit file in directory and delete file in directory ** https://codereview.chromium.org/22918014/ : Add, Delete and Modify 3 files ** https://codereview.chromium.org/23360004/ : Add new files in new directories Note: * When committing GitCheckout uses the --author to specify the original author. The author flag takes in 'Firstname Lastname <email_addr>' but we do not know the Firstname and LastName of the original author, which is why the code here parses out the username from the email address and uses it. Eg: For email address xyz@example.com it passes in --author 'xyz <xyz@example.com>' * An example of the changes required in a project to use GitCheckout instead of SvnCheckout is in https://codereview.chromium.org/22859063/ Created to fix the following feature requests- https://code.google.com/p/chromium/issues/detail?id=261619 : Update the Chrome commit queue to push to src.git. https://code.google.com/p/skia/issues/detail?id=1593 : Add Git support to the Commit Queue. Review URL: https://chromiumcodereview.appspot.com/22794015 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@221392 0039d316-1c4b-4281-b951-d872f2087c98
-
- 03 Sep, 2013 1 commit
-
-
szager@chromium.org authored
These will come in handy when testing code that interacts with multiple gerrit servers (like chromite). BUG= R=vadimsh@chromium.org Review URL: https://codereview.chromium.org/23620021 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@221051 0039d316-1c4b-4281-b951-d872f2087c98
-
- 29 Aug, 2013 1 commit
-
-
deymo@chromium.org authored
Added support for the internal and external gerrit short URLs. BUG=None TEST=Ran my_activity.py manualy. URLs work. Review URL: https://chromiumcodereview.appspot.com/23477012 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@220340 0039d316-1c4b-4281-b951-d872f2087c98
-
- 22 Aug, 2013 3 commits
-
-
phajdan.jr@chromium.org authored
This has been determined to work in a better, more predictable and robust way. BUG=none R=szager@google.com Review URL: https://codereview.chromium.org/22852017 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@219121 0039d316-1c4b-4281-b951-d872f2087c98
-
jochen@chromium.org authored
Since we already checked out all files that were touched in the revision to revert, it should just work[tm]. BUG=64643 R=agable@chromium.org, maruel@chromium.org, phajdan.jr@chromium.org TEST=tested manually that svn merge -r (without -N) reverts directory deletes Review URL: https://codereview.chromium.org/22814005 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@219094 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
This makes it easier to type without using the shift-key, so an user can type 'git cl set-commit' and it'll find CMDset_commit. R=xusydoc@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/22918019 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@219054 0039d316-1c4b-4281-b951-d872f2087c98
-
- 19 Aug, 2013 1 commit
-
-
kustermann@google.com authored
Review URL: https://chromiumcodereview.appspot.com/22886004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@218239 0039d316-1c4b-4281-b951-d872f2087c98
-
- 17 Aug, 2013 1 commit
-
-
maruel@chromium.org authored
Update subcommand to support examples, always disable format_description and format_epilog and add colors when enabled. R=iannucci@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/22824018 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@218180 0039d316-1c4b-4281-b951-d872f2087c98
-
- 16 Aug, 2013 1 commit
-
-
maruel@chromium.org authored
Use the code in git_cl.py, since it was the more evolved. Add documentation and clean up the structure along the way. This makes it possible to easily reuse the generic subcommand handling code. As a first step, only git_cl.py is using it. Eventually, gclient and gcl could be switch over. R=iannucci@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/23250002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@218072 0039d316-1c4b-4281-b951-d872f2087c98
-
- 15 Aug, 2013 1 commit
-
-
agable@chromium.org authored
Having "Description: u'Foo\nBUG=1234\nR=bar@chromium.org\nReview Url: baz'" is not actually that useful in my experience. I'd rather be able to easily read the final CL description that is being committed. Review URL: https://chromiumcodereview.appspot.com/23185006 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@217834 0039d316-1c4b-4281-b951-d872f2087c98
-
- 14 Aug, 2013 1 commit
-
-
danakj@chromium.org authored
Currently the output is: Found line ending with white spaces in: cc/trees/layer_tree_host_impl_unittest.cc, line 379 This format is extremely annoying because you must combine the file and line number together by hand. A more standard format for expressing a position in a file is filename:lineno. This changes the format to match: Found line ending with white spaces in: cc/trees/layer_tree_host_impl_unittest.cc:379 R=maruel@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/22837004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@217405 0039d316-1c4b-4281-b951-d872f2087c98
-
- 13 Aug, 2013 1 commit
-
-
szager@chromium.org authored
This is necesary to force an existing repo working directory to check out a new version of the repo tool which has been signed with a new key. R=cmp@chromium.org Review URL: https://codereview.chromium.org/22909004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@217347 0039d316-1c4b-4281-b951-d872f2087c98
-
- 06 Aug, 2013 3 commits
-
-
ilevy@chromium.org authored
Rietveld rejects tryjobs from non-latest patchsets anyway, change logic to always use latest patchset. R=iannucci@chromium.org Review URL: https://chromiumcodereview.appspot.com/22415012 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@216023 0039d316-1c4b-4281-b951-d872f2087c98
-
vadimsh@chromium.org authored
Also generate SSH keypair for default account to enable SSH access. R=szager@chromium.org Review URL: https://codereview.chromium.org/20441002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@216009 0039d316-1c4b-4281-b951-d872f2087c98
-
stuartmorgan@chromium.org authored
Adds support for passing target_os_only to the chromium recipe, and adds "fetch ios" as an alias for passing both target_os=['ios'] and target_os_only=True as described in the iOS build instructions page. BUG=None R=agable@chromium.org, cmp@chromium.org Review URL: https://codereview.chromium.org/21428002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@215891 0039d316-1c4b-4281-b951-d872f2087c98
-
- 05 Aug, 2013 1 commit
-
-
mdempsky@google.com authored
BUG= Review URL: https://chromiumcodereview.appspot.com/22308002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@215724 0039d316-1c4b-4281-b951-d872f2087c98
-
- 29 Jul, 2013 6 commits
-
-
maruel@chromium.org authored
upload.py returns them as string, eventually leading to a crash. R=iannucci@chromium.org BUG=265546 Review URL: https://chromiumcodereview.appspot.com/21020008 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@214247 0039d316-1c4b-4281-b951-d872f2087c98
-
szager@chromium.org authored
We don't want to permit the execution of an arbitrary binary. TBR=ilevy@chromium.org BUG= Review URL: https://codereview.chromium.org/21012004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@214193 0039d316-1c4b-4281-b951-d872f2087c98
-
xusydoc@chromium.org authored
BUG=265443 TBR=cmp@chromium.org Review URL: https://chromiumcodereview.appspot.com/20994006 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@214190 0039d316-1c4b-4281-b951-d872f2087c98
-
raphael.kubo.da.costa@intel.com authored
which is particularly helpful when one is using `gclient sync' on a platform that does not have /bin/bash (ie. it's installed in another location or not present at all), since the hooks are automatically added to the git checkouts. While here, just `exec' the scripts directly instead of invoking another shell by hand and remove the redundant `exit 0' lines. R=cmp@chromium.org,dpranke@chromium.org,szager@chromium.org Review URL: https://chromiumcodereview.appspot.com/19278004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@214181 0039d316-1c4b-4281-b951-d872f2087c98
-
ilevy@chromium.org authored
> Use plain sh instead of bash in the git template hooks. > > The scripts are simple enough and should work fine under any POSIX shell, > which is particularly helpful when one is using `gclient sync' on a platform > that does not have /bin/bash (ie. it's installed in another location or not > present at all), since the hooks are automatically added to the git > checkouts. > > While here, just `exec' the scripts directly instead of invoking another > shell by hand and remove the redundant `exit 0' lines. > > R=cmp@chromium.org,dpranke@chromium.org,szager@chromium.org TBR=raphael.kubo.da.costa@intel.com Review URL: https://codereview.chromium.org/21066002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@214178 0039d316-1c4b-4281-b951-d872f2087c98
-
raphael.kubo.da.costa@intel.com authored
The scripts are simple enough and should work fine under any POSIX shell, which is particularly helpful when one is using `gclient sync' on a platform that does not have /bin/bash (ie. it's installed in another location or not present at all), since the hooks are automatically added to the git checkouts. While here, just `exec' the scripts directly instead of invoking another shell by hand and remove the redundant `exit 0' lines. R=cmp@chromium.org,dpranke@chromium.org,szager@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@214177 0039d316-1c4b-4281-b951-d872f2087c98
-
- 27 Jul, 2013 4 commits
-
-
ilevy@chromium.org authored
Latest dev appengine server defaults admin port to 8000 which isn't always available and can cause spurious failures. R=maruel@chromium.org Review URL: https://chromiumcodereview.appspot.com/20904002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@214050 0039d316-1c4b-4281-b951-d872f2087c98
-
ilevy@chromium.org authored
Add an option to apply_issue to fail if anonymous access triggers a login prompt. - cherry-pick upload.py rietveld cl 37c73ece82d0 which allows clients to request no authentication. BUG=240634 Review URL: https://chromiumcodereview.appspot.com/20634003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@214023 0039d316-1c4b-4281-b951-d872f2087c98
-
ilevy@chromium.org authored
git cl was using system git cl. - replace git cl status with GIT_CL_STATUS var - add tested depot_tools to tip of PATH. R=maruel@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/20889002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@214021 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Otherwise this breaks git cl unit tests. Update references to 'git cl' in git cl smoke tests to $GIT_CL. TBR=ilevy@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/20888002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@214019 0039d316-1c4b-4281-b951-d872f2087c98
-
- 24 Jul, 2013 4 commits
-
-
iannucci@chromium.org authored
This reverts commit c0594f37. Because I reverted the wrong thing >_< TBR=maruel@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/20199002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@213551 0039d316-1c4b-4281-b951-d872f2087c98
-
iannucci@chromium.org authored
This reverts commit 44a82fa8. Broke git cl apply <issue> TBR=maruel@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/20131006 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@213545 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Convert monkey patching to class inheritance for OptionParser usage in: commit_queue.py, gclient.py and trychange.py. Monkey patching confuses the hell out of pylint. R=jochen@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/19552004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@213423 0039d316-1c4b-4281-b951-d872f2087c98
-
jochen@chromium.org authored
Instead of as branchref. Because it's an issue. Not a branchref. Also, add myself as owner. BUG=none R=maruel@chromium.org Review URL: https://chromiumcodereview.appspot.com/19997004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@213387 0039d316-1c4b-4281-b951-d872f2087c98
-
- 23 Jul, 2013 4 commits
-
-
maruel@chromium.org authored
Add cache for issue properties. Add --fast option in case the HTTP requests become an issue. Everyone loves colors: - White means no issue is associated with the branch. - Red means no email was sent to request a review. Also red if the issue doesn't exist anymore. - Blue means the issue was not LGTM'ed yet. - Green means the issue was LGTM'ed and is likely ready to commit or be CQ'ed. R=iannucci@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/19967004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@213265 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
Reduce the number of conditions and use more early exits to reduce the number of code paths. R=iannucci@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/19463011 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@213173 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
The class already knows the issue number. R=iannucci@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/19976002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@213083 0039d316-1c4b-4281-b951-d872f2087c98
-
maruel@chromium.org authored
So that if the process dies in the middle, the files are easier to spot and delete. R=iannucci@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/19498004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@213081 0039d316-1c4b-4281-b951-d872f2087c98
-
- 20 Jul, 2013 1 commit
-
-
ilevy@chromium.org authored
Add an option in DEPS files to clone a project into a temp dir and then copy into expected final dir. This allows checking out a git repo into a folder which is non-empty. It is useful for projects that are embedded in src/ but want to specify the revision of src/ in the embedded project (such as android private). BUG=165280 Review URL: https://chromiumcodereview.appspot.com/19359002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@212720 0039d316-1c4b-4281-b951-d872f2087c98
-
- 19 Jul, 2013 1 commit
-
-
szager@chromium.org authored
TBR=cmp@chromium.org Review URL: https://codereview.chromium.org/19872002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@212687 0039d316-1c4b-4281-b951-d872f2087c98
-
- 18 Jul, 2013 2 commits
-
-
iannucci@chromium.org authored
Also open the altfile with 'w' because we assume ownership over the object alternates. The logic to correctly support other alternates would be quite complex, so don't even imply support. R=maruel@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/19777004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@212426 0039d316-1c4b-4281-b951-d872f2087c98
-
iannucci@chromium.org authored
recurse. R=maruel@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/19670012 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@212373 0039d316-1c4b-4281-b951-d872f2087c98
-
- 17 Jul, 2013 1 commit
-
-
szager@chromium.org authored
Also, fix preferred_email. TBR=cmp@chromium.org Review URL: https://codereview.chromium.org/19694003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@212149 0039d316-1c4b-4281-b951-d872f2087c98
-