Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(320)

Unified Diff: tests/git_rebase_update_test.py

Issue 214133006: Remember what branches we delete and do not try to reparent them in cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « git_rebase_update.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/git_rebase_update_test.py
diff --git a/tests/git_rebase_update_test.py b/tests/git_rebase_update_test.py
index 64f7fd3b7e49e03ff588061a1c6e866fcd36febf..0dea37e60b8a1ebd608f33a67021b3bbe4c77dba 100755
--- a/tests/git_rebase_update_test.py
+++ b/tests/git_rebase_update_test.py
@@ -116,6 +116,9 @@ class GitRebaseUpdateTest(git_test_utils.GitRepoReadWriteTestBase):
output, _ = self.repo.capture_stdio(self.reup.main)
self.assertIn('Cannot rebase-update', output)
+ self.repo.run(self.nb.main, ['empty_branch'])
+ self.repo.run(self.nb.main, ['--upstream_current', 'empty_branch2'])
+
self.repo.git('checkout', 'branch_K')
output, _ = self.repo.capture_stdio(self.reup.main)
@@ -126,6 +129,8 @@ class GitRebaseUpdateTest(git_test_utils.GitRepoReadWriteTestBase):
self.assertIn('Rebasing: foobar', output)
self.assertIn('Rebasing: sub_K', output)
self.assertIn('Deleted branch branch_G', output)
+ self.assertIn('Deleted branch empty_branch', output)
+ self.assertIn('Deleted branch empty_branch2', output)
agable 2014/03/29 00:02:04 See today's ToT: Would be better to have many smal
self.assertIn('Reparented branch_K to track origin/master', output)
self.assertSchema("""
« no previous file with comments | « git_rebase_update.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698