diff --git a/hgext3rd/smartlog.py b/hgext3rd/smartlog.py --- a/hgext3rd/smartlog.py +++ b/hgext3rd/smartlog.py @@ -457,7 +457,7 @@ heads = set() rev = repo.changelog.rev - branchinfo = repo.changelog.branchinfo + branchinfo = lambda r: ('default',) ancestor = repo.changelog.ancestor node = repo.changelog.node parentrevs = repo.changelog.parentrevs @@ -482,13 +482,13 @@ heads.update(repo.revs('.')) global hiddenchanges - headquery = 'head() & branch(.)' + headquery = 'head()' if remotebooks: # When we have remote bookmarks, only show draft heads, since public # heads should have a remote bookmark indicating them. This allows us # to force push server bookmarks to new locations, and not have the # commits clutter the user's smartlog. - headquery = 'heads(draft()) & branch(.)' + headquery = 'heads(draft())' allheads = set(repo.revs(headquery)) if recentdays >= 0: