D3639: remotenames: add paths argument to remotenames revset

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Wed Jun 27 13:09:54 UTC 2018


yuja added a comment.


  > + at revsetpredicate('remotenames([path, ...])')
  
  My proposal was `remotenames([pattern])`, just like bookmark(), tag(),
  branch(), etc. If we want a convenient way to specify path prefix, we can
  add it to the stringmatcher (e.g. 'remotenames("path:server2")'.) And
  multiple paths can be specified as 'remotenames(x) + remotenames(y)', though
  it isn't exactly the same as 'remotenames("re:<x>|<y>")'.
  
  Does it make sense?

REPOSITORY
  rHG Mercurial

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

To: pulkit, #hg-reviewers
Cc: durin42, yuja, mercurial-devel


More information about the Mercurial-devel mailing list