##// END OF EJS Templates
localrepo: handle ValueError during repository opening...
localrepo: handle ValueError during repository opening Python 3.8 can raise ValueError on attempt of an I/O operation against an illegal path. This was causing test-remotefilelog-gc.t to fail on Python 3.8. This commit teaches repository opening to handle ValueError and re-raise an Abort on failure. An arguably better solution would be to implement this logic in the vfs layer. But that seems like a bag of worms and I don't want to go down that rabbit hole. Until users report uncaught ValueError exceptions in the wild, I think it is fine to patch this at the only occurrence our test harness is finding it. Differential Revision: https://phab.mercurial-scm.org/D7944

File last commit:

r39510:a60dae06 default
r45469:9e5b4dbe default
Show More
test-revlog-ancestry.py.out
19 lines | 298 B | text/plain | TextLexer
/ tests / test-revlog-ancestry.py.out
Stefano Tortarolo
Add ancestors and descendants to revlog...
r6872 Ancestors of 5
4 2 0
Ancestors of 6 and 5
Boris Feld
ancestors: actually iterate over ancestors in topological order (issue5979)...
r39509 4 3 2 1 0
Stefano Tortarolo
Add ancestors and descendants to revlog...
r6872 Ancestors of 5 and 4
4 2 0
Joshua Redstone
revlog: add optional stoprev arg to revlog.ancestors()...
r16868 Ancestors of 7, stop at 6
6
Siddharth Agarwal
revlog.ancestors: add support for including revs...
r18081 Ancestors of 7, including revs
Boris Feld
ancestors: actually iterate over ancestors in topological order (issue5979)...
r39509 7 6 5 4 3 2 1 0
Siddharth Agarwal
revlog.ancestors: add support for including revs...
r18081 Ancestors of 7, 5 and 3, including revs
Boris Feld
ancestors: ensure a consistent order even in the "inclusive" case...
r39510 7 6 5 4 3 2 1 0
Stefano Tortarolo
Add ancestors and descendants to revlog...
r6872
Descendants of 5
7 8
Descendants of 5 and 3
6 7 8
Descendants of 5 and 4
5 7 8