Mercurial > hg
comparison doc/hgmanpage.py @ 46467:45c3a263d5d1
engine: 'if not, else' -> 'if, else'
I personally feel that
```
if x:
pass
else:
pass
```
is easier to read and edit than
```
if not x:
pass
else:
pass
```
Next patches will add one more if-else clause.
Differential Revision: https://phab.mercurial-scm.org/D9931
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Sun, 31 Jan 2021 23:13:08 +0530 |
parents | 89a2afe31e82 |
children | f38bf44e077f |
comparison
equal
deleted
inserted
replaced
46466:3e3b81b6e7da | 46467:45c3a263d5d1 |
---|