D7168: packaging: install .rc files to hgrc.d

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Thu Oct 24 23:06:22 EDT 2019


mharbison72 added a comment.


  I think this change (and the entire series) is great!
  
  > Custom default.d/*.rc files should still be loaded. But it
  > is recommended to move these to hgrc.d/*.rc.
  
  Is it a good idea to encourage people to modify the installation directory?  I thought it was off limits on Windows, though a custom file does seem to survive an uninstall/install cycle of thg.
  
  I do miss having a global directory like `/etc/mercurial/hgrc.d`.  Loading relative to the exe isn't exactly global, since a vanilla hg vs a thg install will use different directories.  I wonder if we can slip in a global directory under %ProgramData% or %AppData% or similar.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7168/new/

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

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


More information about the Mercurial-devel mailing list