mercurial/utils/storageutil.py
changeset 40432 968dd7e02ac5
parent 40427 59a870a4ad6e
child 40460 4fe63b573791
--- a/mercurial/utils/storageutil.py	Tue Oct 09 23:26:35 2018 +0200
+++ b/mercurial/utils/storageutil.py	Wed Oct 10 00:21:02 2018 +0200
@@ -373,6 +373,9 @@
         # We're instructed to send fulltext. Honor that.
         elif deltamode == repository.CG_DELTAMODE_FULL:
             baserev = nullrev
+        # We're instructed to use p1. Honor that
+        elif deltamode == repository.CG_DELTAMODE_P1:
+            baserev = p1rev
 
         # There is a delta in storage. We try to use that because it
         # amounts to effectively copying data from storage and is