D6042: py3: convert filtername to str if it's None

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Mon Mar 4 09:08:54 EST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG38de3300414f: py3: convert filtername to str if it's None (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6042?vs=14321&id=14341

REVISION DETAIL
  https://phab.mercurial-scm.org/D6042

AFFECTED FILES
  mercurial/branchmap.py

CHANGE DETAILS

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)
 



To: pulkit, #hg-reviewers
Cc: yuja, mercurial-devel


More information about the Mercurial-devel mailing list