##// END OF EJS Templates
repoview: use try/except/finally
Matt Mackall -
r25086:140c2d1e default
parent child Browse files
Show More
@@ -115,7 +115,6 b' def trywritehiddencache(repo, hideable, '
115 """
115 """
116 wlock = fh = None
116 wlock = fh = None
117 try:
117 try:
118 try:
119 wlock = repo.wlock(wait=False)
118 wlock = repo.wlock(wait=False)
120 # write cache to file
119 # write cache to file
121 newhash = cachehash(repo, hideable)
120 newhash = cachehash(repo, hideable)
General Comments 0
You need to be logged in to leave comments. Login now