##// 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 2423 _(' location: %s\n'), extsource or "")
2424 2424
2425 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 2429 fm.condwrite(ui.verbose and extbuglink, 'buglink',
2429 2430 _(' bug reporting: %s\n'), extbuglink or "")
@@ -48,36 +48,39 b''
48 48 "buglink": "",
49 49 "name": "color",
50 50 "source": "*/hgext/color.py*", (glob)
51 "testedwith": "internal"
51 "testedwith": ["internal"]
52 52 },
53 53 {
54 54 "buglink": "",
55 55 "name": "ext1",
56 56 "source": "*/extwithoutinfos.py*", (glob)
57 "testedwith": ""
57 "testedwith": []
58 58 },
59 59 {
60 60 "buglink": "",
61 61 "name": "histedit",
62 62 "source": "*/hgext/histedit.py*", (glob)
63 "testedwith": "internal"
63 "testedwith": ["internal"]
64 64 },
65 65 {
66 66 "buglink": "",
67 67 "name": "mq",
68 68 "source": "*/hgext/mq.py*", (glob)
69 "testedwith": "internal"
69 "testedwith": ["internal"]
70 70 },
71 71 {
72 72 "buglink": "",
73 73 "name": "patchbomb",
74 74 "source": "*/hgext/patchbomb.py*", (glob)
75 "testedwith": "internal"
75 "testedwith": ["internal"]
76 76 },
77 77 {
78 78 "buglink": "",
79 79 "name": "rebase",
80 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