Show More
@@ -256,7 +256,7 b' def heads(ui, repo):' | |||
|
256 | 256 | |
|
257 | 257 | def history(ui, repo): |
|
258 | 258 | """show the changelog history""" |
|
259 | for i in range(repo.changelog.count()): | |
|
259 | for i in range(repo.changelog.count() - 1, -1, -1): | |
|
260 | 260 | n = repo.changelog.node(i) |
|
261 | 261 | changes = repo.changelog.read(n) |
|
262 | 262 | (p1, p2) = repo.changelog.parents(n) |
@@ -283,7 +283,7 b' def log(ui, repo, f):' | |||
|
283 | 283 | f = relpath(repo, [f])[0] |
|
284 | 284 | |
|
285 | 285 | r = repo.file(f) |
|
286 | for i in range(r.count()): | |
|
286 | for i in range(r.count() - 1, -1, -1): | |
|
287 | 287 | n = r.node(i) |
|
288 | 288 | (p1, p2) = r.parents(n) |
|
289 | 289 | (h, h1, h2) = map(hg.hex, (n, p1, p2)) |
General Comments 0
You need to be logged in to leave comments.
Login now