# HG changeset patch # User Pierre-Yves David # Date 1438606665 25200 # Node ID 4b92d11e48fe308926fd000fd22e05d48ae0b0ed # Parent 5d0e1e95e30fe6001fc2802dfa9c6b989aca937e histedit: remove useless 'else' clause This 'else: pass' clause have no effect. We drop it for clarity. diff -r 5d0e1e95e30f -r 4b92d11e48fe 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()