D5477: branches: Added -r option to show branch name(s) of a given rev (Issue5948)

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Mon Dec 24 07:58:22 EST 2018


yuja added a comment.


  >   fm.startitem()
  > 
  > +        rev = ctx.rev()
  >  +        if opts.get('rev') and rev not in revs:
  >  +            continue
  
  ctx points to the tipmost branch head. so `rev not in revs` doesn't mean any
  of the `revs` do not belong to the branch.

REPOSITORY
  rHG Mercurial

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

To: navaneeth.suresh, #hg-reviewers
Cc: pulkit, yuja, mercurial-devel


More information about the Mercurial-devel mailing list