<div dir="ltr">Please remove unnecessary blank lines added/removed in your patch. Your patch should contain the changed related to the issue only. You can always look at the changes a patch contains using `hg log -p -r rev`.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 14, 2019 at 1:44 AM akshjain.jain74 (Akshit Jain) <<a href="mailto:phabricator@mercurial-scm.org">phabricator@mercurial-scm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">akshjain.jain74 created this revision.<br>
Herald added a reviewer: durin42.<br>
Herald added a subscriber: mercurial-devel.<br>
Herald added a reviewer: hg-reviewers.<br>
<br>
REPOSITORY<br>
  rHG Mercurial<br>
<br>
REVISION DETAIL<br>
  <a href="https://phab.mercurial-scm.org/D6128" rel="noreferrer" target="_blank">https://phab.mercurial-scm.org/D6128</a><br>
<br>
AFFECTED FILES<br>
  hgext/histedit.py<br>
  hgext/pager.py<br>
  mercurial/dispatch.py<br>
  mercurial/scmutil.py<br>
<br>
CHANGE DETAILS<br>
<br>
diff --git a/mercurial/scmutil.py b/mercurial/scmutil.py<br>
--- a/mercurial/scmutil.py<br>
+++ b/mercurial/scmutil.py<br>
@@ -45,6 +45,7 @@<br>
     vfs,<br>
 )<br>
<br>
+<br>
 from .utils import (<br>
     procutil,<br>
     stringutil,<br>
diff --git a/mercurial/dispatch.py b/mercurial/dispatch.py<br>
--- a/mercurial/dispatch.py<br>
+++ b/mercurial/dispatch.py<br>
@@ -18,7 +18,6 @@<br>
 import time<br>
 import traceback<br>
<br>
-<br>
 from .i18n import _<br>
<br>
 from hgdemandimport import tracing<br>
diff --git a/hgext/pager.py b/hgext/pager.py<br>
--- a/hgext/pager.py<br>
+++ b/hgext/pager.py<br>
@@ -31,6 +31,7 @@<br>
     registrar,<br>
     )<br>
<br>
+<br>
 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for<br>
 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should<br>
 # be specifying the version(s) of Mercurial they are tested with, or<br>
diff --git a/hgext/histedit.py b/hgext/histedit.py<br>
--- a/hgext/histedit.py<br>
+++ b/hgext/histedit.py<br>
@@ -1124,7 +1124,7 @@<br>
     if next:<br>
         index += 1<br>
     else:<br>
-        index -= 1<br>
+        index += 1<br>
     changeaction(state, pos, KEY_LIST[index % len(KEY_LIST)])<br>
<br>
 def changeview(state, delta, unit):<br>
@@ -1164,12 +1164,12 @@<br>
     if action is None:<br>
         return<br>
     if action in ('down', 'move-down'):<br>
-        newpos = min(oldpos + 1, len(rules) - 1)<br>
+        newpos = min(oldpos+1 , len(rules) - 1)<br>
         movecursor(state, oldpos, newpos)<br>
         if selected is not None or action == 'move-down':<br>
             swap(state, oldpos, newpos)<br>
     elif action in ('up', 'move-up'):<br>
-        newpos = max(0, oldpos - 1)<br>
+        newpos = max(0, oldpos-1)<br>
         movecursor(state, oldpos, newpos)<br>
         if selected is not None or action == 'move-up':<br>
             swap(state, oldpos, newpos)<br>
<br>
<br>
<br>
To: akshjain.jain74, durin42, #hg-reviewers<br>
Cc: mercurial-devel<br>
_______________________________________________<br>
Mercurial-devel mailing list<br>
<a href="mailto:Mercurial-devel@mercurial-scm.org" target="_blank">Mercurial-devel@mercurial-scm.org</a><br>
<a href="https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel" rel="noreferrer" target="_blank">https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel</a><br>
</blockquote></div>