diff options
-rw-r--r-- | subcmds/info.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/subcmds/info.py b/subcmds/info.py index 76f5d1d6..f4d6f98c 100644 --- a/subcmds/info.py +++ b/subcmds/info.py | |||
@@ -16,7 +16,7 @@ | |||
16 | 16 | ||
17 | from command import PagedCommand | 17 | from command import PagedCommand |
18 | from color import Coloring | 18 | from color import Coloring |
19 | from git_refs import R_M | 19 | from git_refs import R_M, R_HEADS |
20 | 20 | ||
21 | 21 | ||
22 | class _Coloring(Coloring): | 22 | class _Coloring(Coloring): |
@@ -127,7 +127,10 @@ class Info(PagedCommand): | |||
127 | if not self.opt.local: | 127 | if not self.opt.local: |
128 | project.Sync_NetworkHalf(quiet=True, current_branch_only=True) | 128 | project.Sync_NetworkHalf(quiet=True, current_branch_only=True) |
129 | 129 | ||
130 | logTarget = R_M + self.manifest.manifestProject.config.GetBranch("default").merge | 130 | branch = self.manifest.manifestProject.config.GetBranch('default').merge |
131 | if branch.startswith(R_HEADS): | ||
132 | branch = branch[len(R_HEADS):] | ||
133 | logTarget = R_M + branch | ||
131 | 134 | ||
132 | bareTmp = project.bare_git._bare | 135 | bareTmp = project.bare_git._bare |
133 | project.bare_git._bare = False | 136 | project.bare_git._bare = False |