histedit: remove useless 'else' clause
authorPierre-Yves David <pierre-yves.david@fb.com>
Mon, 03 Aug 2015 05:57:45 -0700
changeset 25907 4b92d11e48fe
parent 25906 5d0e1e95e30f
child 25908 5e53d214415d
histedit: remove useless 'else' clause This 'else: pass' clause have no effect. We drop it for clarity.
hgext/histedit.py
--- a/hgext/histedit.py	Fri Jul 31 15:46:49 2015 -0700
+++ b/hgext/histedit.py	Mon Aug 03 05:57:45 2015 -0700
@@ -796,8 +796,6 @@
             if n in parentnodes:
                 hg.clean(repo, state.topmost)
                 break
-        else:
-            pass
         cleanupnode(ui, repo, 'created', tmpnodes)
         cleanupnode(ui, repo, 'temp', leafs)
         state.clear()