tests/test-debugextensions.t
changeset 33525 a543d17dce03
parent 29893 4c28ddda5d48
child 36567 19ec5da944d5
equal deleted inserted replaced
33524:a89f8329e0b0 33525:a543d17dce03
     9   > buglink = 'https://example.org/bts'
     9   > buglink = 'https://example.org/bts'
    10   > EOF
    10   > EOF
    11 
    11 
    12   $ cat >> $HGRCPATH <<EOF
    12   $ cat >> $HGRCPATH <<EOF
    13   > [extensions]
    13   > [extensions]
    14   > color=
       
    15   > histedit=
    14   > histedit=
    16   > patchbomb=
    15   > patchbomb=
    17   > rebase=
    16   > rebase=
    18   > mq=
    17   > mq=
    19   > ext1 = $debugpath
    18   > ext1 = $debugpath
    20   > ext2 = `pwd`/extwithinfos.py
    19   > ext2 = `pwd`/extwithinfos.py
    21   > EOF
    20   > EOF
    22 
    21 
    23   $ hg debugextensions
    22   $ hg debugextensions
    24   color
       
    25   ext1 (untested!)
    23   ext1 (untested!)
    26   ext2 (3.2.1!)
    24   ext2 (3.2.1!)
    27   histedit
    25   histedit
    28   mq
    26   mq
    29   patchbomb
    27   patchbomb
    30   rebase
    28   rebase
    31 
    29 
    32   $ hg debugextensions -v
    30   $ hg debugextensions -v
    33   color
       
    34     location: */hgext/color.py* (glob)
       
    35     bundled: yes
       
    36   ext1
    31   ext1
    37     location: */extwithoutinfos.py* (glob)
    32     location: */extwithoutinfos.py* (glob)
    38     bundled: no
    33     bundled: no
    39   ext2
    34   ext2
    40     location: */extwithinfos.py* (glob)
    35     location: */extwithinfos.py* (glob)
    54     location: */hgext/rebase.py* (glob)
    49     location: */hgext/rebase.py* (glob)
    55     bundled: yes
    50     bundled: yes
    56 
    51 
    57   $ hg debugextensions -Tjson | sed 's|\\\\|/|g'
    52   $ hg debugextensions -Tjson | sed 's|\\\\|/|g'
    58   [
    53   [
    59    {
       
    60     "buglink": "",
       
    61     "bundled": true,
       
    62     "name": "color",
       
    63     "source": "*/hgext/color.py*", (glob)
       
    64     "testedwith": []
       
    65    },
       
    66    {
    54    {
    67     "buglink": "",
    55     "buglink": "",
    68     "bundled": false,
    56     "bundled": false,
    69     "name": "ext1",
    57     "name": "ext1",
    70     "source": "*/extwithoutinfos.py*", (glob)
    58     "source": "*/extwithoutinfos.py*", (glob)