[Bug 5190] New: Make it possible to write cross-platform shell aliases

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Tue Apr 5 11:55:17 UTC 2016


https://bz.mercurial-scm.org/show_bug.cgi?id=5190

            Bug ID: 5190
           Summary: Make it possible to write cross-platform shell aliases
           Product: Mercurial
           Version: 3.5.2
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at selenic.com
          Reporter: gabor.stefanik at nng.com
                CC: mercurial-devel at selenic.com

On Windows, we let cmd.exe (or possibly command.com) handle variable name
substitution in shell aliases. This means, there is no cross-platform way to
reference the arguments passed to such an alias (e.g. cmd.exe requires writing
%HG% instead of $HG).

We need a new type of shell alias (e.g. indicated by a double exclamation
mark), where Hg does the variable substitution itself, in a predictable,
cross-platform way.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list