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

Unified Diff: git_map.py

Issue 288123003: Make git_map properly update merge base markers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 6 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git_map.py
diff --git a/git_map.py b/git_map.py
index 14d7e7541e7e3408f4f9d18b8e63529b55b1ad8e..6fec89d37f442b52f03cef733cb51634e9e4ef1a 100755
--- a/git_map.py
+++ b/git_map.py
@@ -19,7 +19,7 @@ import sys
import subprocess2
from git_common import current_branch, branches, tags, config_list, GIT_EXE
-from git_common import branch_config_map, root
+from git_common import get_or_create_merge_base, root
from third_party import colorama
@@ -47,9 +47,9 @@ def main():
stdout=subprocess2.PIPE,
shell=False)
- merge_base_map = branch_config_map('base')
current = current_branch()
all_branches = set(branches())
+ merge_base_map = {b: get_or_create_merge_base(b) for b in all_branches}
if current in all_branches:
all_branches.remove(current)
all_tags = set(tags())
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698