- 27 Jan, 2021 1 commit
-
-
Gavin Mak authored
This change adds documentation and demos missing for the flag --inject_current used in git new-branch. Bug: 1167943 Change-Id: Id6305b876ade2c47eb7435a5edd055ae4fe2f323 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2648615Reviewed-by:
Josip Sokcevic <sokcevic@google.com> Commit-Queue: Gavin Mak <gavinmak@google.com>
-
- 17 Sep, 2020 1 commit
-
-
Gavin Mak authored
Currently, for a given branch, map-branches displays the number of commits ahead and behind it is. This change replaces ahead with commits, representing the number of commits a branch has, starting from its base commit, and more accurately reflects the state of a repo. Bug:1128716 Change-Id: I7c070b4efd452d82d878e1cfb7c20d1c80f38ec7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2412991 Commit-Queue: Gavin Mak <gavinmak@google.com> Reviewed-by:
Josip Sokcevic <sokcevic@google.com>
-
- 11 Aug, 2020 1 commit
-
-
Clemens Backes authored
"here" is not a nice name for the link, and the footnote generated for the man page. Replace it by a properly named link. Note that some of the changes in the generated files are unrelated. Those files have not been updated since May 2019, and it seems like some previous changes were not reflected yet. R=ehmaldonado@chromium.org Change-Id: I31c784e7eb649bcaa74ba223027fb2c142f52838 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/2346371Reviewed-by:
Dirk Pranke <dpranke@google.com> Commit-Queue: Clemens Backes <clemensb@chromium.org>
-
- 03 May, 2019 1 commit
-
-
Daniel McArdle authored
Change-Id: I4c5e11d0b5434a6f31d72af78cd82abab06800e5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/1593820Reviewed-by:
Robbie Iannucci <iannucci@chromium.org> Commit-Queue: Robbie Iannucci <iannucci@chromium.org>
-
- 13 Dec, 2018 2 commits
-
-
Clemens Hammacher authored
Include verbose output of `git map-branches` to make visible what the state of the different branches is. R=iannucci@chromium.org Change-Id: I4af03ef15b39e4ba84a41c01d1ec801e7bb4bbd6 Reviewed-on: https://chromium-review.googlesource.com/c/1360711Reviewed-by:
Robbie Iannucci <iannucci@chromium.org> Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
-
Clemens Hammacher authored
Document the -v and --no-color options. R=iannucci@chromium.org Change-Id: I07624403f591b23cc5701aa8201124fdfdb65781 Reviewed-on: https://chromium-review.googlesource.com/c/1360710Reviewed-by:
Robbie Iannucci <iannucci@chromium.org> Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
-
- 05 Dec, 2018 1 commit
-
-
Clemens Hammacher authored
This reverts commit ba83229a. Reason for revert: After mail discussion we came to the conclusion that the old behavior makes more sense. Original change's description: > Fix semantics of git new-branch --upstream > > Currently, the "--upstream A" option for new-branch behaves totally > different than "--upstream_current". While "--upstream A" checks out > branch A and then creates a new branch which tracks A, > "--upstream_current" creates a new branch for the current HEAD and sets > the upstream to the previously checked out branch. > > As the documentation does not mention that any of the options changes > the currently-checked-out commit (HEAD), this CL changes the semantics > of "git new-branch --upstream A B" to be identical to "git checkout -b B > && git branch --set-upstream-to A". > > It also slightly extends the documentation to mention that in any case > the new branch is based on HEAD. > > R=iannucci@chromium.org > > Change-Id: Ic335d2caf27cb6afca1b8bc5a008424c0e880fca > Reviewed-on: https://chromium-review.googlesource.com/c/1350748 > Reviewed-by: Robbie Iannucci <iannucci@chromium.org> > Commit-Queue: Clemens Hammacher <clemensh@chromium.org> > Auto-Submit: Clemens Hammacher <clemensh@chromium.org> TBR=iannucci@chromium.org,tandrii@chromium.org,clemensh@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Change-Id: I7463935af172f0801c7da94d2de106a02fc4c42e Reviewed-on: https://chromium-review.googlesource.com/c/1362972Reviewed-by:
Sergiy Belozorov <sergiyb@chromium.org> Commit-Queue: Clemens Hammacher <clemensh@chromium.org>
-
- 04 Dec, 2018 1 commit
-
-
Clemens Hammacher authored
Currently, the "--upstream A" option for new-branch behaves totally different than "--upstream_current". While "--upstream A" checks out branch A and then creates a new branch which tracks A, "--upstream_current" creates a new branch for the current HEAD and sets the upstream to the previously checked out branch. As the documentation does not mention that any of the options changes the currently-checked-out commit (HEAD), this CL changes the semantics of "git new-branch --upstream A B" to be identical to "git checkout -b B && git branch --set-upstream-to A". It also slightly extends the documentation to mention that in any case the new branch is based on HEAD. R=iannucci@chromium.org Change-Id: Ic335d2caf27cb6afca1b8bc5a008424c0e880fca Reviewed-on: https://chromium-review.googlesource.com/c/1350748Reviewed-by:
Robbie Iannucci <iannucci@chromium.org> Commit-Queue: Clemens Hammacher <clemensh@chromium.org> Auto-Submit: Clemens Hammacher <clemensh@chromium.org>
-
- 03 Dec, 2018 1 commit
-
-
Clemens Hammacher authored
The option is --upstream, not --uptstream. R=sergiyb@chromium.org Change-Id: I007dfecae9ba576d65bbb8b96c3f2296d2152a23 Reviewed-on: https://chromium-review.googlesource.com/c/1350747 Auto-Submit: Clemens Hammacher <clemensh@chromium.org> Reviewed-by:
Sergiy Belozorov <sergiyb@chromium.org> Reviewed-by:
Dirk Pranke <dpranke@chromium.org> Commit-Queue: Dirk Pranke <dpranke@chromium.org>
-
- 21 Jun, 2018 1 commit
-
-
Robert Iannucci authored
89734301 introduced a new useful feature to `git upstream-diff`, but unfortunately also regressed the behavior of the tool when used with additional arguments for `git diff`. This adds some additional documentation to demonstrate the intended original feature (and fixes some of the bit-rot in the documentation pipeline). R=agable@chromium.org, mattm@chromium.org Change-Id: I3ae48db3232c1ac84a7edbfe2225a17cda391a1e Reviewed-on: https://chromium-review.googlesource.com/1107491 Commit-Queue: Robbie Iannucci <iannucci@chromium.org> Reviewed-by:
Aaron Gable <agable@chromium.org>
-
- 24 May, 2018 1 commit
-
-
Aaron Gable authored
The command itself was removed in https://chromium-review.googlesource.com/693339 Bug: 770408 Change-Id: Ie3006b75313715c395357efa6ffc67348e192c5c Reviewed-on: https://chromium-review.googlesource.com/1070757Reviewed-by:
Andrii Shyshkalov <tandrii@chromium.org> Commit-Queue: Aaron Gable <agable@chromium.org>
-
- 03 Nov, 2017 1 commit
-
-
Matt Mueller authored
Bug: 374928 Change-Id: I8f633ce172fc644e251193eb3fa4b67d62fb9dfa Reviewed-on: https://chromium-review.googlesource.com/747365 Commit-Queue: Matt Mueller <mattm@chromium.org> Reviewed-by:
Aaron Gable <agable@chromium.org>
-
- 21 Jun, 2017 1 commit
-
-
Aaron Gable authored
BUG=735230 Change-Id: Ia75170b3ea13c4c14eb7e8066ecb533f69adbc8d Reviewed-on: https://chromium-review.googlesource.com/542038Reviewed-by:
Aaron Gable <agable@chromium.org> Commit-Queue: Aaron Gable <agable@chromium.org>
-
- 13 Mar, 2017 1 commit
-
-
Aaron Gable authored
The most important git subcommand in depot_tools never had a man page until today. And now "git help cl" and "git cl --help" will work. BUG=695623 Change-Id: Ic0d05fa8d70d2ef6e71d58e0d7d3e7adc4a2fa32 Reviewed-on: https://chromium-review.googlesource.com/447216Reviewed-by:
Robbie Iannucci <iannucci@chromium.org> Commit-Queue: Aaron Gable <agable@chromium.org>
-
- 16 Dec, 2016 1 commit
-
-
Quinten Yearsley authored
Specifically, this CL was made by running codespell (https://github.com/lucasdemarchi/codespell), manually filtering for changes in non-third-party files that appear correct. Change-Id: Ia16c1b29483d777744450d7bea45a178cf877a25 Reviewed-on: https://chromium-review.googlesource.com/420871 Commit-Queue: Quinten Yearsley <qyearsley@chromium.org> Reviewed-by:
Aaron Gable <agable@chromium.org>
-
- 22 Sep, 2016 1 commit
-
-
agable authored
We no longer support git-svn as a workflow. R=iannucci@chromium.org BUG=475320 Review-Url: https://codereview.chromium.org/2360143002
-
- 04 Sep, 2016 1 commit
-
-
estaab authored
BUG= Review-Url: https://codereview.chromium.org/2304393002
-
- 22 Jul, 2016 1 commit
-
-
agable authored
R=iannucci@chromium.org BUG=630312 Review-Url: https://codereview.chromium.org/2170623003
-
- 22 Jun, 2016 1 commit
-
-
agable authored
R=iannucci@chromium.org BUG=376099 Review-Url: https://codereview.chromium.org/2052113002
-
- 22 Feb, 2016 1 commit
-
-
mgiuca@chromium.org authored
Added --ignore-file argument, so you can specify ignored commits in a file rather than as raw command-line arguments. Also, automatically searches for a file called .git-blame-ignore-revs, which is automatically used as an ignore list by default. Also, specifying an unknown revision (either on the command line or in a file) now generates a warning, not an error. Notes on some decisions: - The file is called .git-blame-ignore-revs (not mentioning hyper-blame) because we may use the same list in tools other than hyper-blame in the future. - We look at the *currently checked out* version of .git-blame-ignore-revs (not the version at the specified revision) for consistency with .git-ignore. Because we only expect revisions to be added (not deleted), it should be fine to use an ignore list from a newer version than the revision being blamed. - We considered using git notes for the ignore list so that you could add a revision to the ignore list without needing a follow-up CL. However, there are some problems with this approach. git notes is not automatically synced with git clone/pull. Also the Chromium infra tools (Reitveld, CQ) are not set up to allow modification of git notes, nor are changes to git notes subject to OWNERS checks. Using a regular file ensures all users synced to a particular revision are using the same ignore list. BUG=574290 Review URL: https://codereview.chromium.org/1697423004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298897 0039d316-1c4b-4281-b951-d872f2087c98
-
- 05 Feb, 2016 1 commit
-
-
mgiuca@chromium.org authored
Previously, when a commit was skipped, it would be blamed on the line number the line had *after* the skipped commit. This could mean a totally unrelated commit gets blamed. Now, a heuristic analyses the diff of the skipped commit to discover approximately what line number the line had *before* the skipped commit, so it can hopefully be blamed on the right commit. BUG=574290 Review URL: https://codereview.chromium.org/1629253002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298609 0039d316-1c4b-4281-b951-d872f2087c98
-
- 03 Feb, 2016 1 commit
-
-
mgiuca@chromium.org authored
Currently, the script requires you to pass the unwanted commits on the command line, but eventually, you could configure it with a file (checked into the repo) that provides a fixed set of commits to always skip (such as commits that do a huge amount of renaming and nothing else). BUG=574290 Review URL: https://codereview.chromium.org/1559943003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@298544 0039d316-1c4b-4281-b951-d872f2087c98
-
- 03 Nov, 2015 1 commit
-
-
sammc@chromium.org authored
Currently, git-drover gives up and cleans up if the cherry-pick fails. This change allows the user to manually resolve conflicts when using git-drover. BUG=404755 Review URL: https://codereview.chromium.org/1397313002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297429 0039d316-1c4b-4281-b951-d872f2087c98
-
- 29 Sep, 2015 1 commit
-
-
sammc@chromium.org authored
This uses the same trick as git-new-workdir to reuse an existing git checkout without interfering with it. However, this makes it only usable on platforms where os.symlink exists. BUG=404755 Review URL: https://codereview.chromium.org/1342383002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296920 0039d316-1c4b-4281-b951-d872f2087c98
-
- 10 Sep, 2015 1 commit
-
-
stip@chromium.org authored
Review URL: https://codereview.chromium.org/1331263002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@296639 0039d316-1c4b-4281-b951-d872f2087c98
-
- 01 Oct, 2014 1 commit
-
-
agable@chromium.org authored
This tool can automatically set up the necessary git-svn metadata for our repos that live in SVN but are mirrored to Chrome. R=iannucci@chromium.org, tandrii@chromium.org BUG=418973 Review URL: https://codereview.chromium.org/611253003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@292241 0039d316-1c4b-4281-b951-d872f2087c98
-
- 23 Sep, 2014 1 commit
-
-
calamity@chromium.org authored
This CL fixes some issues with map-branches: * Branches with no upstream were not being shown. * -vv from a detached HEAD would crash * GONE upstreams would crash when git cleaned up in a way that caused hash_one to fail This CL also adds a blue coloring to branches that start with 'branch-heads' for Chromium release branches. BUG=416530 Review URL: https://codereview.chromium.org/576423002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@292083 0039d316-1c4b-4281-b951-d872f2087c98
-
- 09 Sep, 2014 2 commits
-
-
mmoss@chromium.org authored
R=luqui@chromium.org Review URL: https://codereview.chromium.org/558783003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291893 0039d316-1c4b-4281-b951-d872f2087c98
-
mmoss@chromium.org authored
TBR=iannucci@chromium.org Review URL: https://codereview.chromium.org/561433002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291889 0039d316-1c4b-4281-b951-d872f2087c98
-
- 06 Sep, 2014 1 commit
-
-
mmoss@chromium.org authored
TBR=iannucci@chromium.org Review URL: https://codereview.chromium.org/549643002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291840 0039d316-1c4b-4281-b951-d872f2087c98
-
- 03 Sep, 2014 1 commit
-
-
luqui@chromium.org authored
BUG=407316 Review URL: https://codereview.chromium.org/521033002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291777 0039d316-1c4b-4281-b951-d872f2087c98
-
- 25 Aug, 2014 1 commit
-
-
mmoss@chromium.org authored
BUG=407284 R=iannucci@google.com Review URL: https://codereview.chromium.org/507513002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291619 0039d316-1c4b-4281-b951-d872f2087c98
-
- 20 Aug, 2014 2 commits
-
-
mmoss@chromium.org authored
R=iannucci@google.com BUG=261738 Review URL: https://codereview.chromium.org/494873003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@290946 0039d316-1c4b-4281-b951-d872f2087c98
-
mmoss@chromium.org authored
When running make_docs.sh, I get the error: asciidoc: FAILED: manpage document title is mandatory make: *** [git-cherry-pick-upload.xml] Error 1 I don't fully understand why, or why this hasn't come up before, but it seems to be complaining about the formatting of "===" in git-cherry-pick-upload.txt. This was with xmlto version 0.0.25 on Precise. R=iannucci@google.com Review URL: https://codereview.chromium.org/489143003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@290939 0039d316-1c4b-4281-b951-d872f2087c98
-
- 29 Jul, 2014 1 commit
-
-
smut@google.com authored
This extension uploads a fake cherry pick-style diff to rietveld with a modified project parameter. The modified project is intended to be used by the commit queue to attempt to land the change on a branch. This works by grabbing the parent of the targeted revision and generating the diff. It is intended to be used to CQ trivial cherry picks which apply cleanly on top of other branches without conflicts. BUG=387111 Review URL: https://codereview.chromium.org/397593004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@286273 0039d316-1c4b-4281-b951-d872f2087c98
-
- 28 Jul, 2014 1 commit
-
-
dnj@chromium.org authored
Added the 'git-retry' bootstrap command. This can be used to wrap other 'git' commands around a fault-tolerant retry wrapper. BUG=295109 TEST=localtest R=iannucci@chromium.org, petermayo@chromium.org Review URL: https://codereview.chromium.org/401673003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@285939 0039d316-1c4b-4281-b951-d872f2087c98
-
- 08 May, 2014 1 commit
-
-
iannucci@chromium.org authored
This is useful for large repos (like src.git) R=agable@chromium.org, szager@chromium.org BUG= Review URL: https://codereview.chromium.org/270503003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@269079 0039d316-1c4b-4281-b951-d872f2087c98
-
- 28 Apr, 2014 1 commit
-
-
iannucci@chromium.org authored
This makes the depot_tools manpages automatically show up in the effective MANPATH for mac/linux. R=agable@chromium.org BUG= Review URL: https://codereview.chromium.org/259863004 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@266667 0039d316-1c4b-4281-b951-d872f2087c98
-