Commits

Arne Babenhauserheide committed bceb590

show the default branch in the branch list, if there are other named branches, too.

Comments (0)

Files changed (1)

     for branch, heads in repo.branchmap().items(): 
         if branch and branch != "default": # not default
             branches.extend(heads)
+    if branches:
+        branches.extend(repo.branchmap()["default"])
             
     try: 
         tags = repo.tags()
         overview += overviewlogstring(ui, repo, branches,
                                       template=templates["commitlog"].replace(
                 "{branches}", "XXXXX").replace(
-                "{date|shortdate}", "{branches}").replace(
+                "{date|shortdate}", "{branch}").replace(
                 "XXXXX", "{date|shortdate}").replace(
                 "{tags}", "XXXXX").replace(
                 "{date|shortdate}", "{tags}").replace(