Problem with: 208fc9ad6a48 "alias: only allow global options before .."

Adrian Buehlmann adrian at cadifra.com
Wed Sep 29 13:56:42 CDT 2010


I found a problem with

  changeset:   12536:208fc9ad6a48
  user:        Steve Losh <steve at stevelosh.com>
  date:        Tue Aug 24 18:25:33 2010 -0400
  summary:     alias: only allow global options before a shell alias, pass later ones through

If I write the following

  $ cat >> $HGRCPATH <<EOF
  > [extensions]
  > graphlog=
  > 
  > [alias]
  > tglog = glog
  > EOF

  $ hg init a
  $ cd a
  $ hg tglog

into a new file tests/test-mini.t and run that test with

   python run-tests.py test-mini.t

then that test fails.

Before 208fc9ad6a48, that same test passes.

I've stumbled across this because I've used that pattern in my unified rebase
tests (not yet pushed or posted), which suddenly stopped working.



More information about the Mercurial-devel mailing list