Show More
@@ -590,12 +590,12 b' def desc(repo, subset, x):' | |||||
590 | """ |
|
590 | """ | |
591 | # i18n: "desc" is a keyword |
|
591 | # i18n: "desc" is a keyword | |
592 | ds = encoding.lower(getstring(x, _("desc requires a string"))) |
|
592 | ds = encoding.lower(getstring(x, _("desc requires a string"))) | |
593 | l = [] |
|
593 | ||
594 | for r in subset: |
|
594 | def matches(x): | |
595 |
c = repo[ |
|
595 | c = repo[x] | |
596 |
|
|
596 | return ds in encoding.lower(c.description()) | |
597 | l.append(r) |
|
597 | ||
598 |
return |
|
598 | return lazyset(subset, matches) | |
599 |
|
599 | |||
600 | def _descendants(repo, subset, x, followfirst=False): |
|
600 | def _descendants(repo, subset, x, followfirst=False): | |
601 | args = getset(repo, baseset(repo), x) |
|
601 | args = getset(repo, baseset(repo), x) |
General Comments 0
You need to be logged in to leave comments.
Login now