# HG changeset patch # User Pierre-Yves David # Date 1486029338 -3600 # Node ID 887de951613899949de9e3d58ae29eb13ad7cecb # Parent 847f06179f6084e9fa88129cf3cc22af582560a5 unbundle: add a small comment to tag the bundle1 case as such This makes the code clearer to understand for someone new to it (or rusted) diff -r 847f06179f60 -r 887de9516138 mercurial/exchange.py --- a/mercurial/exchange.py Thu Feb 02 10:51:04 2017 +0100 +++ b/mercurial/exchange.py Thu Feb 02 10:55:38 2017 +0100 @@ -1763,6 +1763,7 @@ parts.append(part) raise else: + # legacy case: bundle1 (changegroup 01) lockandtr[1] = repo.lock() r = cg.apply(repo, source, url) finally: