Commit 6332b152 authored by iannucci@chromium.org's avatar iannucci@chromium.org

Make git_map properly update merge base markers.

R=agable@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@270572 0039d316-1c4b-4281-b951-d872f2087c98
parent 40a3d0b6
......@@ -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())
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment