Use try/finally pattern to cleanup locks and transactions
Showing
- hgext/fetch.py 8 additions, 8 deletionshgext/fetch.py
- hgext/mq.py 374 additions, 347 deletionshgext/mq.py
- hgext/transplant.py 22 additions, 15 deletionshgext/transplant.py
- mercurial/commands.py 196 additions, 180 deletionsmercurial/commands.py
- mercurial/hg.py 82 additions, 86 deletionsmercurial/hg.py
- mercurial/hgweb/hgweb_mod.py 1 addition, 1 deletionmercurial/hgweb/hgweb_mod.py
- mercurial/localrepo.py 327 additions, 301 deletionsmercurial/localrepo.py
- mercurial/merge.py 57 additions, 55 deletionsmercurial/merge.py
- mercurial/streamclone.py 17 additions, 14 deletionsmercurial/streamclone.py
- mercurial/verify.py 7 additions, 2 deletionsmercurial/verify.py
Loading
Please register or sign in to comment