##// END OF EJS Templates
lock: turn a lock into a Python context manager...
lock: turn a lock into a Python context manager This lets us greatly simply acquire/release cycles. Code pattern before: try: lock = repo.lock() # zillions of lines of code finally: lock.release() And after: with repo.lock(): # ...

File last commit:

r9999:f91e5630 default
r27797:054abf23 default
Show More
header.tmpl
1 line | 86 B | application/x-cheetah | CheetahLexer
<?xml version="1.0" encoding="{encoding}"?>
<feed xmlns="http://www.w3.org/2005/Atom">