next: cleanup logic around return by returning early
In the cmdnext function, there are some conditionals which returns early and
some which sets a result value to be returned later. Let's return from all the
conditionals early.
There are if, elif and else involved, so it's sure we will end up in one of the
conditional, each conditional will return, so it's guranteed that we are
returning the correct value and returning everytime.
-------------------------
Evolve Commands Reference
-------------------------
.. highlight:: none
amend
-----
.. hghelp:: amend
evolve
------
.. hghelp:: evolve
fold
----
.. hghelp:: fold
metaedit
--------
.. hghelp:: metaedit
next
----
.. hghelp:: next
obslog
------
.. hghelp:: obslog
pdiff
-----
.. hghelp:: pdiff
previous
--------
.. hghelp:: previous
prune
-----
.. hghelp:: prune
pstatus
-------
.. hghelp:: pstatus
split
-----
.. hghelp:: split
touch
-----
.. hghelp:: touch
uncommit
--------
.. hghelp:: uncommit