Show More
@@ -1734,7 +1734,8 b' def unbundle(repo, cg, heads, source, ur' | |||||
1734 | # push can proceed |
|
1734 | # push can proceed | |
1735 | if not isinstance(cg, bundle2.unbundle20): |
|
1735 | if not isinstance(cg, bundle2.unbundle20): | |
1736 | # legacy case: bundle1 (changegroup 01) |
|
1736 | # legacy case: bundle1 (changegroup 01) | |
1737 | with repo.lock(): |
|
1737 | txnname = "\n".join([source, util.hidepassword(url)]) | |
|
1738 | with repo.lock(), repo.transaction(txnname): | |||
1738 | r = cg.apply(repo, source, url) |
|
1739 | r = cg.apply(repo, source, url) | |
1739 | else: |
|
1740 | else: | |
1740 | r = None |
|
1741 | r = None |
General Comments 0
You need to be logged in to leave comments.
Login now