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