mercurial/streamclone.py
changeset 26462 3b0ec09192ae
parent 26461 09cc3c2e9ece
child 26466 3515db5aae05
--- a/mercurial/streamclone.py	Sun Oct 04 11:27:10 2015 -0700
+++ b/mercurial/streamclone.py	Sun Oct 04 11:34:28 2015 -0700
@@ -66,7 +66,15 @@
 
     return True, requirements
 
-def maybeperformstreamclone(pullop):
+def maybeperformlegacystreamclone(pullop):
+    """Possibly perform a legacy stream clone operation.
+
+    Legacy stream clones are performed as part of pull but before all other
+    operations.
+
+    A legacy stream clone will not be performed if a bundle2 stream clone is
+    supported.
+    """
     repo = pullop.repo
     remote = pullop.remote