# HG changeset patch # User Pierre-Yves David # Date 1708956910 -3600 # Node ID de1bc7db9f61dbb5760322a0fca9a012876b836a # Parent 47752632b4fc089ebda82438c9531a093fca7f56 branchcache: simplify a long line Gratuitous change to help code readability. diff -r 47752632b4fc -r de1bc7db9f61 mercurial/branchmap.py --- a/mercurial/branchmap.py Mon Feb 26 15:12:20 2024 +0100 +++ b/mercurial/branchmap.py Mon Feb 26 15:15:10 2024 +0100 @@ -496,13 +496,11 @@ except Exception as inst: if repo.ui.debugflag: msg = b'invalid %s: %s\n' - repo.ui.debug( - msg - % ( - _branchcachedesc(repo), - stringutil.forcebytestr(inst), - ) + msg %= ( + _branchcachedesc(repo), + stringutil.forcebytestr(inst), ) + repo.ui.debug(msg) bcache = None finally: