mirror of
https://github.com/facebook/sapling.git
synced 2024-10-08 07:49:11 +03:00
revset: unindent "if True" block in sort()
It was there to make the previous patch readable.
This commit is contained in:
parent
37d980f070
commit
5ed7576a38
@ -1868,7 +1868,6 @@ def sort(repo, subset, x):
|
||||
return revs
|
||||
# sort() is guaranteed to be stable
|
||||
ctxs = [repo[r] for r in revs]
|
||||
if True:
|
||||
for k in reversed(keys):
|
||||
if k == 'rev':
|
||||
ctxs.sort(key=lambda c: c.rev())
|
||||
|
Loading…
Reference in New Issue
Block a user