##// END OF EJS Templates
exchange: use context manager for bundle1 unbundling...
Martin von Zweigbergk -
r32845:58a6f64a default
parent child Browse files
Show More
@@ -1733,8 +1733,8 b' def unbundle(repo, cg, heads, source, ur'
1733 1733 # push can proceed
1734 1734 if not util.safehasattr(cg, 'params'):
1735 1735 # legacy case: bundle1 (changegroup 01)
1736 lockandtr[1] = repo.lock()
1737 r = cg.apply(repo, source, url)
1736 with repo.lock():
1737 r = cg.apply(repo, source, url)
1738 1738 else:
1739 1739 r = None
1740 1740 try:
General Comments 0
You need to be logged in to leave comments. Login now