changeset 30903:887de9516138

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)
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Thu, 02 Feb 2017 10:55:38 +0100
parents 847f06179f60
children c5bee6aa4971
files mercurial/exchange.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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: