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