Show More
@@ -2067,14 +2067,17 b' def _list(repo, subset, x):' | |||
|
2067 | 2067 | r = int(t) |
|
2068 | 2068 | if str(r) != t or r not in cl: |
|
2069 | 2069 | raise ValueError |
|
2070 | revs = [r] | |
|
2070 | 2071 | except ValueError: |
|
2071 | r = repo[t].rev() | |
|
2072 | if r in seen: | |
|
2073 |
|
|
|
2074 |
if |
|
|
2075 | or r == node.nullrev and isinstance(subset, fullreposet)): | |
|
2076 | ls.append(r) | |
|
2077 | seen.add(r) | |
|
2072 | revs = stringset(repo, subset, t) | |
|
2073 | ||
|
2074 | for r in revs: | |
|
2075 | if r in seen: | |
|
2076 | continue | |
|
2077 | if (r in subset | |
|
2078 | or r == node.nullrev and isinstance(subset, fullreposet)): | |
|
2079 | ls.append(r) | |
|
2080 | seen.add(r) | |
|
2078 | 2081 | return baseset(ls) |
|
2079 | 2082 | |
|
2080 | 2083 | # for internal use |
General Comments 0
You need to be logged in to leave comments.
Login now