You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
depot_tools/tests
romain.pokrzywka@gmail.com 483a0ba3f5 Handle branch or commit refs in the url for unmanaged git solutions
This allows having a git repo cloned on a specific branch or commit, similar to
what's possible for svn solutions by specifying a url like svnrepo/branches/foo

Having the possibility to check the code out on a specific branch makes the
initial code checkout workflow simpler, and allows specifying all the relevant
info directly in the fetch recipe, instead of  having to deal with branches
manually afterwards (which is the whole purpose of recipes in the first place)

So with this change, I'm able to do the following in my custom fetch recipe:

    solution = {
        'name' : 'src',
        'url' : 'git@github.snei.sony.com:SNEI/chromium.git@refs/heads/custombranch',
        <following lines skipped>

Review URL: https://codereview.chromium.org/289863012

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@273675 0039d316-1c4b-4281-b951-d872f2087c98
11 years ago
..
gstools
subversion_config
abandon.sh
basic.sh
breakpad_unittest.py
checkout_test.py Re-land of have apply_patch.py/checkout.py stage git patches instead of committing them 11 years ago
download_from_google_storage_unittests.py
fix_encoding_test.py
gcl_unittest.py
gclient_scm_test.py Handle branch or commit refs in the url for unmanaged git solutions 11 years ago
gclient_smoketest.py
gclient_test.py
gclient_utils_test.py
git_cl_test.py Use `git rev-list A..B` to get the list of commits to be uploaded to Gerrit by git cl. 11 years ago
git_common_test.py Make marked merge base invalid when the upstream changes. 11 years ago
git_number_test.py
git_rebase_update_test.py
hooks.sh
owners.sh
owners_finder_test.py
owners_unittest.py
patch.sh
patch_test.py
post-dcommit-hook-test.sh
presubmit_unittest.py Recursively find all tests in a git repo. 11 years ago
push-basic.sh
push-from-logs.sh
rename.sh
rietveld_test.py
sample_pre_commit_hook
save-description-on-failure.sh
scm_unittest.py
submit-from-new-dir.sh
submodule-merge-test.sh
subprocess2_test.py
test-lib.sh
trychange_unittest.py
upload-local-tracking-branch.sh
upload-stale.sh
upload_to_google_storage_unittests.py
upstream.sh
watchlists_unittest.py