tests/test-extension.t
changeset 46819 d4ba4d51f85f
parent 46262 9c9e0b4b2ca7
child 47442 d1c1fd7ac46d
equal deleted inserted replaced
46818:1977495dbbe2 46819:d4ba4d51f85f
   674   ZeroDivisionError: * by zero (glob)
   674   ZeroDivisionError: * by zero (glob)
   675   *** failed to set up extension baduisetup: * by zero (glob)
   675   *** failed to set up extension baduisetup: * by zero (glob)
   676   Mercurial Distributed SCM (version *) (glob)
   676   Mercurial Distributed SCM (version *) (glob)
   677   (see https://mercurial-scm.org for more information)
   677   (see https://mercurial-scm.org for more information)
   678   
   678   
   679   Copyright (C) 2005-* Matt Mackall and others (glob)
   679   Copyright (C) 2005-* Olivia Mackall and others (glob)
   680   This is free software; see the source for copying conditions. There is NO
   680   This is free software; see the source for copying conditions. There is NO
   681   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   681   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
   682 
   682 
   683   $ cd ..
   683   $ cd ..
   684 
   684 
  1553   $ rm -Rf __pycache__
  1553   $ rm -Rf __pycache__
  1554   $ hg version -v
  1554   $ hg version -v
  1555   Mercurial Distributed SCM (version *) (glob)
  1555   Mercurial Distributed SCM (version *) (glob)
  1556   (see https://mercurial-scm.org for more information)
  1556   (see https://mercurial-scm.org for more information)
  1557   
  1557   
  1558   Copyright (C) 2005-* Matt Mackall and others (glob)
  1558   Copyright (C) 2005-* Olivia Mackall and others (glob)
  1559   This is free software; see the source for copying conditions. There is NO
  1559   This is free software; see the source for copying conditions. There is NO
  1560   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  1560   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  1561   
  1561   
  1562   Enabled extensions:
  1562   Enabled extensions:
  1563   
  1563   
  1564 
  1564 
  1565   $ hg version -v --config extensions.throw=throw.py
  1565   $ hg version -v --config extensions.throw=throw.py
  1566   Mercurial Distributed SCM (version *) (glob)
  1566   Mercurial Distributed SCM (version *) (glob)
  1567   (see https://mercurial-scm.org for more information)
  1567   (see https://mercurial-scm.org for more information)
  1568   
  1568   
  1569   Copyright (C) 2005-* Matt Mackall and others (glob)
  1569   Copyright (C) 2005-* Olivia Mackall and others (glob)
  1570   This is free software; see the source for copying conditions. There is NO
  1570   This is free software; see the source for copying conditions. There is NO
  1571   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  1571   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  1572   
  1572   
  1573   Enabled extensions:
  1573   Enabled extensions:
  1574   
  1574   
  1578   $ rm -Rf __pycache__
  1578   $ rm -Rf __pycache__
  1579   $ hg version -v --config extensions.throw=throw.py --config extensions.strip=
  1579   $ hg version -v --config extensions.throw=throw.py --config extensions.strip=
  1580   Mercurial Distributed SCM (version *) (glob)
  1580   Mercurial Distributed SCM (version *) (glob)
  1581   (see https://mercurial-scm.org for more information)
  1581   (see https://mercurial-scm.org for more information)
  1582   
  1582   
  1583   Copyright (C) 2005-* Matt Mackall and others (glob)
  1583   Copyright (C) 2005-* Olivia Mackall and others (glob)
  1584   This is free software; see the source for copying conditions. There is NO
  1584   This is free software; see the source for copying conditions. There is NO
  1585   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  1585   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  1586   
  1586   
  1587   Enabled extensions:
  1587   Enabled extensions:
  1588   
  1588   
  1640   $ hg --config extensions.minversion=minversion1.py version
  1640   $ hg --config extensions.minversion=minversion1.py version
  1641   (third party extension minversion requires version 3.6 or newer of Mercurial (current: 3.5.2); disabling)
  1641   (third party extension minversion requires version 3.6 or newer of Mercurial (current: 3.5.2); disabling)
  1642   Mercurial Distributed SCM (version 3.5.2)
  1642   Mercurial Distributed SCM (version 3.5.2)
  1643   (see https://mercurial-scm.org for more information)
  1643   (see https://mercurial-scm.org for more information)
  1644   
  1644   
  1645   Copyright (C) 2005-* Matt Mackall and others (glob)
  1645   Copyright (C) 2005-* Olivia Mackall and others (glob)
  1646   This is free software; see the source for copying conditions. There is NO
  1646   This is free software; see the source for copying conditions. There is NO
  1647   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  1647   warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  1648 
  1648 
  1649   $ cat > minversion2.py << EOF
  1649   $ cat > minversion2.py << EOF
  1650   > from mercurial import util
  1650   > from mercurial import util