Show More
@@ -124,7 +124,7 b' def modified(mctx, x):' | |||||
124 | """ |
|
124 | """ | |
125 | # i18n: "modified" is a keyword |
|
125 | # i18n: "modified" is a keyword | |
126 | getargs(x, 0, 0, _("modified takes no arguments")) |
|
126 | getargs(x, 0, 0, _("modified takes no arguments")) | |
127 |
s = mctx.status() |
|
127 | s = mctx.status().modified | |
128 | return [f for f in mctx.subset if f in s] |
|
128 | return [f for f in mctx.subset if f in s] | |
129 |
|
129 | |||
130 | def added(mctx, x): |
|
130 | def added(mctx, x): | |
@@ -133,7 +133,7 b' def added(mctx, x):' | |||||
133 | """ |
|
133 | """ | |
134 | # i18n: "added" is a keyword |
|
134 | # i18n: "added" is a keyword | |
135 | getargs(x, 0, 0, _("added takes no arguments")) |
|
135 | getargs(x, 0, 0, _("added takes no arguments")) | |
136 |
s = mctx.status() |
|
136 | s = mctx.status().added | |
137 | return [f for f in mctx.subset if f in s] |
|
137 | return [f for f in mctx.subset if f in s] | |
138 |
|
138 | |||
139 | def removed(mctx, x): |
|
139 | def removed(mctx, x): | |
@@ -142,7 +142,7 b' def removed(mctx, x):' | |||||
142 | """ |
|
142 | """ | |
143 | # i18n: "removed" is a keyword |
|
143 | # i18n: "removed" is a keyword | |
144 | getargs(x, 0, 0, _("removed takes no arguments")) |
|
144 | getargs(x, 0, 0, _("removed takes no arguments")) | |
145 |
s = mctx.status() |
|
145 | s = mctx.status().removed | |
146 | return [f for f in mctx.subset if f in s] |
|
146 | return [f for f in mctx.subset if f in s] | |
147 |
|
147 | |||
148 | def deleted(mctx, x): |
|
148 | def deleted(mctx, x): | |
@@ -151,7 +151,7 b' def deleted(mctx, x):' | |||||
151 | """ |
|
151 | """ | |
152 | # i18n: "deleted" is a keyword |
|
152 | # i18n: "deleted" is a keyword | |
153 | getargs(x, 0, 0, _("deleted takes no arguments")) |
|
153 | getargs(x, 0, 0, _("deleted takes no arguments")) | |
154 |
s = mctx.status() |
|
154 | s = mctx.status().deleted | |
155 | return [f for f in mctx.subset if f in s] |
|
155 | return [f for f in mctx.subset if f in s] | |
156 |
|
156 | |||
157 | def unknown(mctx, x): |
|
157 | def unknown(mctx, x): | |
@@ -161,7 +161,7 b' def unknown(mctx, x):' | |||||
161 | """ |
|
161 | """ | |
162 | # i18n: "unknown" is a keyword |
|
162 | # i18n: "unknown" is a keyword | |
163 | getargs(x, 0, 0, _("unknown takes no arguments")) |
|
163 | getargs(x, 0, 0, _("unknown takes no arguments")) | |
164 |
s = mctx.status() |
|
164 | s = mctx.status().unknown | |
165 | return [f for f in mctx.subset if f in s] |
|
165 | return [f for f in mctx.subset if f in s] | |
166 |
|
166 | |||
167 | def ignored(mctx, x): |
|
167 | def ignored(mctx, x): | |
@@ -171,7 +171,7 b' def ignored(mctx, x):' | |||||
171 | """ |
|
171 | """ | |
172 | # i18n: "ignored" is a keyword |
|
172 | # i18n: "ignored" is a keyword | |
173 | getargs(x, 0, 0, _("ignored takes no arguments")) |
|
173 | getargs(x, 0, 0, _("ignored takes no arguments")) | |
174 |
s = mctx.status() |
|
174 | s = mctx.status().ignored | |
175 | return [f for f in mctx.subset if f in s] |
|
175 | return [f for f in mctx.subset if f in s] | |
176 |
|
176 | |||
177 | def clean(mctx, x): |
|
177 | def clean(mctx, x): | |
@@ -180,7 +180,7 b' def clean(mctx, x):' | |||||
180 | """ |
|
180 | """ | |
181 | # i18n: "clean" is a keyword |
|
181 | # i18n: "clean" is a keyword | |
182 | getargs(x, 0, 0, _("clean takes no arguments")) |
|
182 | getargs(x, 0, 0, _("clean takes no arguments")) | |
183 |
s = mctx.status() |
|
183 | s = mctx.status().clean | |
184 | return [f for f in mctx.subset if f in s] |
|
184 | return [f for f in mctx.subset if f in s] | |
185 |
|
185 | |||
186 | def func(mctx, a, b): |
|
186 | def func(mctx, a, b): |
General Comments 0
You need to be logged in to leave comments.
Login now