D98: revset: support reading aliases from a .hgrevsets file

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Wed Jul 19 09:42:10 EDT 2017


yuja added a comment.


  Can we have a single source file for project's revset/fileset aliases and maybe templates?
  I don't think it's good idea to create `.hgxxx` file per config section.
  
    [revsetalias]
    filealiasall = all()
    
    [filesetalias]
    ...
  
  Perhaps they could be opt-in by user config, e.g. `experimental.revsetaliasfromrepo=*`.

REPOSITORY
  rHG Mercurial

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

EMAIL PREFERENCES
  https://phab.mercurial-scm.org/settings/panel/emailpreferences/

To: indygreg, #hg-reviewers
Cc: yuja, mharbison72, quark, mercurial-devel


More information about the Mercurial-devel mailing list