Mercurial > hg
diff mercurial/lock.py @ 23753:e30c6aa6f2a2
trydiff: replace 'dodiff = False' by 'continue'
The 'dodiff' variable is initialized to True and may later be set to
either False or "binary". When it's set to False, we skip everything
after that point, so we can simplify by instead continue-ing (the
loop). We can then also drop the 'if dodiff', since it will always be
true.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 07 Jan 2015 10:59:40 -0800 |
parents | f484be02bd35 |
children | 328739ea70c3 |