Show More
@@ -186,6 +186,16 b' def getset(repo, subset, x):' | |||
|
186 | 186 | raise error.ParseError(_("missing argument")) |
|
187 | 187 | return methods[x[0]](repo, subset, *x[1:]) |
|
188 | 188 | |
|
189 | def _getrevsource(repo, r): | |
|
190 | extra = repo[r].extra() | |
|
191 | for label in ('source', 'transplant_source', 'rebase_source'): | |
|
192 | if label in extra: | |
|
193 | try: | |
|
194 | return repo[extra[label]].rev() | |
|
195 | except error.RepoLookupError: | |
|
196 | pass | |
|
197 | return None | |
|
198 | ||
|
189 | 199 | # operator methods |
|
190 | 200 | |
|
191 | 201 | def stringset(repo, subset, x): |
General Comments 0
You need to be logged in to leave comments.
Login now