##// END OF EJS Templates
debugextension: change "testedwith" to a list (BC)...
Yuya Nishihara -
r29703:3ef9aa7a default
parent child Browse files
Show More
@@ -2423,7 +2423,8 b' def debugextensions(ui, **opts):'
2423 _(' location: %s\n'), extsource or "")
2423 _(' location: %s\n'), extsource or "")
2424
2424
2425 fm.condwrite(ui.verbose and exttestedwith, 'testedwith',
2425 fm.condwrite(ui.verbose and exttestedwith, 'testedwith',
2426 _(' tested with: %s\n'), ' '.join(exttestedwith))
2426 _(' tested with: %s\n'),
2427 fm.formatlist(exttestedwith, name='ver'))
2427
2428
2428 fm.condwrite(ui.verbose and extbuglink, 'buglink',
2429 fm.condwrite(ui.verbose and extbuglink, 'buglink',
2429 _(' bug reporting: %s\n'), extbuglink or "")
2430 _(' bug reporting: %s\n'), extbuglink or "")
@@ -48,36 +48,39 b''
48 "buglink": "",
48 "buglink": "",
49 "name": "color",
49 "name": "color",
50 "source": "*/hgext/color.py*", (glob)
50 "source": "*/hgext/color.py*", (glob)
51 "testedwith": "internal"
51 "testedwith": ["internal"]
52 },
52 },
53 {
53 {
54 "buglink": "",
54 "buglink": "",
55 "name": "ext1",
55 "name": "ext1",
56 "source": "*/extwithoutinfos.py*", (glob)
56 "source": "*/extwithoutinfos.py*", (glob)
57 "testedwith": ""
57 "testedwith": []
58 },
58 },
59 {
59 {
60 "buglink": "",
60 "buglink": "",
61 "name": "histedit",
61 "name": "histedit",
62 "source": "*/hgext/histedit.py*", (glob)
62 "source": "*/hgext/histedit.py*", (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.py*", (glob)
68 "source": "*/hgext/mq.py*", (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.py*", (glob)
74 "source": "*/hgext/patchbomb.py*", (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.py*", (glob)
80 "source": "*/hgext/rebase.py*", (glob)
81 "testedwith": "internal"
81 "testedwith": ["internal"]
82 }
82 }
83 ]
83 ]
84
85 $ hg debugextensions -T '{ifcontains("internal", testedwith, "", "{name}\n")}'
86 ext1
General Comments 0
You need to be logged in to leave comments. Login now