Mercurial > evolve
changeset 4449:4a00de50bb3b stable
evolve: fix over-idented block
author | Sushil khanchi <sushilkhanchi97@gmail.com> |
---|---|
date | Wed, 27 Mar 2019 14:29:22 +0530 |
parents | 8232bddf543a |
children | 9b0cde5efbc9 |
files | hgext3rd/evolve/__init__.py |
diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext3rd/evolve/__init__.py Mon Mar 25 15:45:11 2019 -0700 +++ b/hgext3rd/evolve/__init__.py Wed Mar 27 14:29:22 2019 +0530 @@ -844,14 +844,14 @@ created = ret[1] if (opts['obsolete'] and None not in (created, expected['node']) and created != expected['node']): - tr = repo.transaction('import-obs') - try: - metadata = {'user': ui.username()} - repo.obsstore.create(tr, expected['node'], (created,), - metadata=metadata) - tr.close() - finally: - tr.release() + tr = repo.transaction('import-obs') + try: + metadata = {'user': ui.username()} + repo.obsstore.create(tr, expected['node'], (created,), + metadata=metadata) + tr.close() + finally: + tr.release() return ret