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
rmistry@google.com 3b5efdf64d Completing implementation of GitCheckout in depot_tools.
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
12 years ago
..
gstools Scripts to download files from google storage based on sha1 sums 13 years ago
subversion_config Move commit-queue/checkout into depot_tools so it can be reused by the try server. 15 years ago
abandon.sh Fix depot_tools tests external dependency 12 years ago
basic.sh Fix depot_tools tests external dependency 12 years ago
breakpad_unittest.py Make sure that direct call to SendStack() doesn't send a stack trace for non googler 14 years ago
checkout_test.py Completing implementation of GitCheckout in depot_tools. 12 years ago
download_from_google_storage_unittests.py Honor the --boto flag in download_from_google_storage. 13 years ago
fix_encoding_test.py Standardize the sys.path fix up and fix a few pylint warnings. 14 years ago
gcl_unittest.py Update the R= line with the actual list of reviewers that approved the CL. 13 years ago
gclient_scm_test.py Allow gclient clone in non-empty directories 12 years ago
gclient_smoketest.py Convert gclient to use subcommand.py 12 years ago
gclient_test.py Revert "Revert "Improve description layout. Improve coloring and add legend in help."" 12 years ago
gclient_utils_test.py Print time of long running hook actions 12 years ago
git_cl_test.py Replace --no-pager with GIT_PAGER=cat 13 years ago
hooks.sh Add test for git-svn with submodule/merge layout. 14 years ago
owners.sh Fix depot_tools tests external dependency 12 years ago
owners_unittest.py Add a way to require approval from owners other than the author. 13 years ago
patch.sh Fix depot_tools tests external dependency 12 years ago
patch_test.py Fix applying svn:executable on Windows. 13 years ago
post-dcommit-hook-test.sh Add test for git-svn with submodule/merge layout. 14 years ago
presubmit_unittest.py Change default ReportErrorFileAndLine to use filename:lineno format. 12 years ago
push-basic.sh Fix depot_tools tests external dependency 12 years ago
push-from-logs.sh Fix depot_tools tests external dependency 12 years ago
rename.sh Make git-cl more accurately imitate git's editor selection process, and respect $VISUAL. 13 years ago
rietveld_test.py Have Rietveld.get_description() consistently strip CR and whitespace. 13 years ago
sample_pre_commit_hook Move commit-queue/checkout into depot_tools so it can be reused by the try server. 15 years ago
save-description-on-failure.sh Make git-cl more accurately imitate git's editor selection process, and respect $VISUAL. 13 years ago
scm_unittest.py Removes DiffItem, which was unused, and moves _DiffItemInternal below GenerateDiff, now its lone caller. 13 years ago
submit-from-new-dir.sh Make git-cl more accurately imitate git's editor selection process, and respect $VISUAL. 13 years ago
submodule-merge-test.sh Add test for git-svn with submodule/merge layout. 14 years ago
subprocess2_test.py Fix many (but not all[1]) depot_tools tests on Windows. 13 years ago
test-lib.sh Fix depot_tools tests external dependency 12 years ago
trychange_unittest.py Revert "Revert "Improve description layout. Improve coloring and add legend in help."" 12 years ago
upload-local-tracking-branch.sh Make git-cl more accurately imitate git's editor selection process, and respect $VISUAL. 13 years ago
upload-stale.sh Fix depot_tools tests external dependency 12 years ago
upload_to_google_storage_unittests.py Scripts to download files from google storage based on sha1 sums 13 years ago
upstream.sh Add test for git-svn with submodule/merge layout. 14 years ago
watchlists_unittest.py Create a new testing_support module to move utility modules there 14 years ago