Show More
@@ -398,7 +398,7 b' def only(repo, subset, x):' | |||||
398 | args = getargs(x, 1, 2, _('only takes one or two arguments')) |
|
398 | args = getargs(x, 1, 2, _('only takes one or two arguments')) | |
399 | include = getset(repo, spanset(repo), args[0]) |
|
399 | include = getset(repo, spanset(repo), args[0]) | |
400 | if len(args) == 1: |
|
400 | if len(args) == 1: | |
401 |
if |
|
401 | if not include: | |
402 | return baseset() |
|
402 | return baseset() | |
403 |
|
403 | |||
404 | descendants = set(_revdescendants(repo, include, False)) |
|
404 | descendants = set(_revdescendants(repo, include, False)) |
General Comments 0
You need to be logged in to leave comments.
Login now