Show More
@@ -1231,9 +1231,8 b' def parents(repo, subset, x):' | |||
|
1231 | 1231 | The set of all parents for all changesets in set, or the working directory. |
|
1232 | 1232 | """ |
|
1233 | 1233 | if x is None: |
|
1234 |
ps = |
|
|
1235 | return subset & ps | |
|
1236 | ||
|
1234 | ps = set(p.rev() for p in repo[x].parents()) | |
|
1235 | else: | |
|
1237 | 1236 | ps = set() |
|
1238 | 1237 | cl = repo.changelog |
|
1239 | 1238 | for r in getset(repo, spanset(repo), x): |
General Comments 0
You need to be logged in to leave comments.
Login now