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.
		
		
		
		
		
			
				
					
						
							Fix a bug that left branches tracking a dead branch if both their parent
and grand-parent were left with no changes after a "rebase-update" step.
Given the following initial state:
  $ git map-branches -v
  origin/master
    a
      b
        c *        [ ahead 1 ]
without this patch, a "git rebase-update" on this tree state would
leave the branch "c" as tracking a non-existing branch "a":
  $ git recursive-rebase
  a up-to-date
  b up-to-date
  c up-to-date
  Reparented c to track a (was tracking b)
  Deleted branch b (was 448d1da).
  Deleted branch a (was 448d1da).
  $ git map-branches -v
  {a:GONE}
    c *
with the patch, we record that the branch "c" is tracking must be
updated twice and we end up in a state were "c" is correctly tracking
"origin/master":
  $ git recursive-rebase
  a up-to-date
  b up-to-date
  c up-to-date
  Reparented c to track origin/master (was tracking b)
  Deleted branch b (was 448d1da).
  Deleted branch a (was 448d1da).
  $ git map-branches -v
  origin/master
    c *            [ ahead 1 ]
BUG=456806
Review URL: https://codereview.chromium.org/1482753002
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@297792 0039d316-1c4b-4281-b951-d872f2087c98
						
					
				
			 | 
			10 years ago | |
|---|---|---|
| .. | ||
| gstools | 13 years ago | |
| subversion_config | ||
| abandon.sh | 11 years ago | |
| basic.sh | 10 years ago | |
| breakpad_unittest.py | 14 years ago | |
| checkout_test.py | 11 years ago | |
| download_from_google_storage_unittests.py | 10 years ago | |
| fix_encoding_test.py | ||
| gclient_scm_test.py | 11 years ago | |
| gclient_smoketest.py | 10 years ago | |
| gclient_test.py | 11 years ago | |
| gclient_utils_test.py | 12 years ago | |
| git_cache_test.py | 10 years ago | |
| git_cl_test.py | 10 years ago | |
| git_common_test.py | 10 years ago | |
| git_drover_test.py | 10 years ago | |
| git_footers_test.py | 11 years ago | |
| git_number_test.py | 11 years ago | |
| git_rebase_update_test.py | 10 years ago | |
| gsutil_test.py | 10 years ago | |
| hooks.sh | 12 years ago | |
| owners.sh | 11 years ago | |
| owners_finder_test.py | 12 years ago | |
| owners_unittest.py | 11 years ago | |
| patch.sh | 11 years ago | |
| patch_test.py | 13 years ago | |
| post-dcommit-hook-test.sh | 11 years ago | |
| presubmit_unittest.py | 10 years ago | |
| push-basic.sh | 10 years ago | |
| push-from-logs.sh | 11 years ago | |
| rename.sh | 11 years ago | |
| rietveld_test.py | 10 years ago | |
| sample_pre_commit_hook | ||
| save-description-on-failure.sh | 11 years ago | |
| scm_unittest.py | 11 years ago | |
| submit-from-new-dir.sh | 11 years ago | |
| submodule-merge-test.sh | 11 years ago | |
| subprocess2_test.py | 13 years ago | |
| test-lib.sh | 11 years ago | |
| trychange_unittest.py | 12 years ago | |
| upload-local-tracking-branch.sh | 11 years ago | |
| upload-stale.sh | 11 years ago | |
| upload_to_google_storage_unittests.py | 10 years ago | |
| upstream.sh | 12 years ago | |
| watchlists_unittest.py | ||