Mercurial > hg > mercurial-crew-with-dirclash
changeset 1764:4671078dbfe7
Cleanup: Put initialization of br in front of --branches option handling.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Tue, 21 Feb 2006 15:37:23 +0100 |
parents | fa34a74efc40 |
children | b9fac31f34c9 |
files | mercurial/commands.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -1637,7 +1637,6 @@ def log(ui, repo, *pats, **opts): if opts['only_merges'] and len(parents) != 2: continue - br = None if opts['keyword']: changes = getchange(rev) miss = 0 @@ -1650,6 +1649,7 @@ def log(ui, repo, *pats, **opts): if miss: continue + br = None if opts['branches']: br = repo.branchlookup([repo.changelog.node(rev)])