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

            Bug ID: 5591
           Summary: user-set alias doesn't recognize extensions enabled
                    globally
           Product: Mercurial
           Version: 4.2.1
          Hardware: PC
                OS: Windows
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzi...@mercurial-scm.org
          Reporter: rvandermeu...@mozilla.com
                CC: gregory.sz...@gmail.com,
                    mercurial-devel@mercurial-scm.org

I have the purge extension enabled at in the global mercurial.ini we ship in
the MozillaBuild package. I also have a user-level mercurial.ini with a
"switch" alias that runs "hg up -C $1 && hg purge". However, that alias fails
to run unless I specifically enable the purge extension in my user-level
mercurial.ini because it doesn't think the purge extension is enabled.

From hg config --debug:
c:\mozilla-build-3.0pre2\python\mercurial.ini:6: extensions.purge=

The alias (in ~/mercurial.ini):
switch = !hg up -C $1 && hg purge

Actual results:
hg: unknown command 'purge'

Running 'hg purge' by itself works fine. And if I add "purge=" to
~/mercurial.ini, the alias also works fine then.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to