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

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Wed Jul 19 10:41:04 EDT 2017


durin42 added a comment.


  In https://phab.mercurial-scm.org/D98#2104, @yuja wrote:
  
  > 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=*`.
  
  
  I like it. What else should we allow in here? Are there security concerns we should think through?

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: durin42, yuja, mharbison72, quark, mercurial-devel


More information about the Mercurial-devel mailing list