From patchwork Sun Mar 3 21:07:09 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D6042: py3: convert filtername to str if it's None From: phabricator X-Patchwork-Id: 39023 Message-Id: To: mercurial-devel@mercurial-scm.org Date: Sun, 3 Mar 2019 21:07:09 +0000 pulkit updated this revision to Diff 14321. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6042?vs=14320&id=14321 REVISION DETAIL https://phab.mercurial-scm.org/D6042 AFFECTED FILES mercurial/branchmap.py CHANGE DETAILS To: pulkit, #hg-reviewers Cc: yuja, mercurial-devel diff --git a/mercurial/branchmap.py b/mercurial/branchmap.py --- a/mercurial/branchmap.py +++ b/mercurial/branchmap.py @@ -360,7 +360,7 @@ duration = util.timer() - starttime repo.ui.log('branchcache', 'updated %s branch cache in %.4f seconds\n', - repo.filtername, duration) + repo.filtername or b'None', duration) self.write(repo)