Show More
@@ -1492,7 +1492,14 b' def sort(repo, subset, x):' | |||||
1492 | l = [] |
|
1492 | l = [] | |
1493 | def invert(s): |
|
1493 | def invert(s): | |
1494 | return "".join(chr(255 - ord(c)) for c in s) |
|
1494 | return "".join(chr(255 - ord(c)) for c in s) | |
1495 |
|
|
1495 | revs = getset(repo, subset, s) | |
|
1496 | if keys == ["rev"]: | |||
|
1497 | revs.sort() | |||
|
1498 | return revs | |||
|
1499 | elif keys == ["-rev"]: | |||
|
1500 | revs.sort(reverse=True) | |||
|
1501 | return revs | |||
|
1502 | for r in revs: | |||
1496 | c = repo[r] |
|
1503 | c = repo[r] | |
1497 | e = [] |
|
1504 | e = [] | |
1498 | for k in keys: |
|
1505 | for k in keys: |
General Comments 0
You need to be logged in to leave comments.
Login now