diff hgeditor @ 15264:157d93c41c10

merge: expand environment variables and ~/ in tool.executable hgrc(5) already implies that this works, so we might as well support it. Another approach would be to implement this in util.findexe(): that would benefit other callers of findexe(), e.g. convert and anyone calling the user's editor. But findexe() is really implemented in both posix.py and windows.py, so this would make both of those modules depend on util.py: not good. So keep it narrow and only for merge tools.
author Greg Ward <greg@gerg.ca>
date Wed, 12 Oct 2011 21:45:58 -0400
parents 2b440bb8a66b
children 1aee2ab0f902
line wrap: on
line diff