# HG changeset patch # User Sushil khanchi # Date 1553677162 -19800 # Node ID 4a00de50bb3bf0fac1c9c20a2ab0841221032c26 # Parent 8232bddf543a2cd3818ee029ed7a0bab949a93e8 evolve: fix over-idented block diff -r 8232bddf543a -r 4a00de50bb3b hgext3rd/evolve/__init__.py --- 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