##// END OF EJS Templates
test-debugextensions: sanitize JSON output for Windows...
Matt Harbison -
r26430:1f8208a7 default
parent child Browse files
Show More
@@ -1,83 +1,83 b''
1 $ hg debugextensions
1 $ hg debugextensions
2
2
3 $ debugpath=`pwd`/extwithoutinfos.py
3 $ debugpath=`pwd`/extwithoutinfos.py
4
4
5 $ cat > extwithoutinfos.py <<EOF
5 $ cat > extwithoutinfos.py <<EOF
6 > EOF
6 > EOF
7
7
8 $ cat >> $HGRCPATH <<EOF
8 $ cat >> $HGRCPATH <<EOF
9 > [extensions]
9 > [extensions]
10 > color=
10 > color=
11 > histedit=
11 > histedit=
12 > patchbomb=
12 > patchbomb=
13 > rebase=
13 > rebase=
14 > mq=
14 > mq=
15 > ext1 = $debugpath
15 > ext1 = $debugpath
16 > EOF
16 > EOF
17
17
18 $ hg debugextensions
18 $ hg debugextensions
19 color
19 color
20 ext1 (untested!)
20 ext1 (untested!)
21 histedit
21 histedit
22 mq
22 mq
23 patchbomb
23 patchbomb
24 rebase
24 rebase
25
25
26 $ hg debugextensions -v
26 $ hg debugextensions -v
27 color
27 color
28 location: */hgext/color.pyc (glob)
28 location: */hgext/color.pyc (glob)
29 tested with: internal
29 tested with: internal
30 ext1
30 ext1
31 location: */extwithoutinfos.pyc (glob)
31 location: */extwithoutinfos.pyc (glob)
32 histedit
32 histedit
33 location: */hgext/histedit.pyc (glob)
33 location: */hgext/histedit.pyc (glob)
34 tested with: internal
34 tested with: internal
35 mq
35 mq
36 location: */hgext/mq.pyc (glob)
36 location: */hgext/mq.pyc (glob)
37 tested with: internal
37 tested with: internal
38 patchbomb
38 patchbomb
39 location: */hgext/patchbomb.pyc (glob)
39 location: */hgext/patchbomb.pyc (glob)
40 tested with: internal
40 tested with: internal
41 rebase
41 rebase
42 location: */hgext/rebase.pyc (glob)
42 location: */hgext/rebase.pyc (glob)
43 tested with: internal
43 tested with: internal
44
44
45 $ hg debugextensions -Tjson
45 $ hg debugextensions -Tjson | sed 's|\\\\|/|g'
46 [
46 [
47 {
47 {
48 "buglink": "",
48 "buglink": "",
49 "name": "color",
49 "name": "color",
50 "source": "*/hgext/color.pyc", (glob)
50 "source": "*/hgext/color.pyc", (glob)
51 "testedwith": "internal"
51 "testedwith": "internal"
52 },
52 },
53 {
53 {
54 "buglink": "",
54 "buglink": "",
55 "name": "ext1",
55 "name": "ext1",
56 "source": "*/extwithoutinfos.pyc", (glob)
56 "source": "*/extwithoutinfos.pyc", (glob)
57 "testedwith": ""
57 "testedwith": ""
58 },
58 },
59 {
59 {
60 "buglink": "",
60 "buglink": "",
61 "name": "histedit",
61 "name": "histedit",
62 "source": "*/hgext/histedit.pyc", (glob)
62 "source": "*/hgext/histedit.pyc", (glob)
63 "testedwith": "internal"
63 "testedwith": "internal"
64 },
64 },
65 {
65 {
66 "buglink": "",
66 "buglink": "",
67 "name": "mq",
67 "name": "mq",
68 "source": "*/hgext/mq.pyc", (glob)
68 "source": "*/hgext/mq.pyc", (glob)
69 "testedwith": "internal"
69 "testedwith": "internal"
70 },
70 },
71 {
71 {
72 "buglink": "",
72 "buglink": "",
73 "name": "patchbomb",
73 "name": "patchbomb",
74 "source": "*/hgext/patchbomb.pyc", (glob)
74 "source": "*/hgext/patchbomb.pyc", (glob)
75 "testedwith": "internal"
75 "testedwith": "internal"
76 },
76 },
77 {
77 {
78 "buglink": "",
78 "buglink": "",
79 "name": "rebase",
79 "name": "rebase",
80 "source": "*/hgext/rebase.pyc", (glob)
80 "source": "*/hgext/rebase.pyc", (glob)
81 "testedwith": "internal"
81 "testedwith": "internal"
82 }
82 }
83 ]
83 ]
General Comments 0
You need to be logged in to leave comments. Login now