D6178: crecord: new keys g & G to navigate to the top and bottom respectively

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Fri Apr 5 11:13:22 EDT 2019


pulkit added a comment.


  Amending this diff to make test-check-code.t happy which complains about lines longer than 80.
  
    diff --git a/mercurial/crecord.py b/mercurial/crecord.py
    --- a/mercurial/crecord.py
    +++ b/mercurial/crecord.py
    @@ -1528,10 +1528,10 @@ the following are valid keystrokes:
             Handle 'G' to navigate to the bottom most file/hunk/line depending
             on the whether the fold is active or not.
     
    -        If the bottom most file is folded, it navigates to that file and stops there.
    -        If the bottom most file is unfolded, it navigates to the bottom most hunk in
    -        that file and stops there. If the bottom most hunk is unfolded, it navigates to
    -        the bottom most line in that hunk.
    +        If the bottom most file is folded, it navigates to that file and
    +        stops there. If the bottom most file is unfolded, it navigates to
    +        the bottom most hunk in that file and stops there. If the bottom most
    +        hunk is unfolded, it navigates to the bottom most line in that hunk.
             """
             currentitem = self.currentselecteditem
             nextitem = currentitem.nextitem()

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D6178

To: arun, #hg-reviewers, JordiGH, pulkit
Cc: JordiGH, mercurial-devel


More information about the Mercurial-devel mailing list