mercurial/utils/storageutil.py
changeset 40432 968dd7e02ac5
parent 40427 59a870a4ad6e
child 40460 4fe63b573791
equal deleted inserted replaced
40430:6a917075535a 40432:968dd7e02ac5
   371             baserev = prevrev
   371             baserev = prevrev
   372 
   372 
   373         # We're instructed to send fulltext. Honor that.
   373         # We're instructed to send fulltext. Honor that.
   374         elif deltamode == repository.CG_DELTAMODE_FULL:
   374         elif deltamode == repository.CG_DELTAMODE_FULL:
   375             baserev = nullrev
   375             baserev = nullrev
       
   376         # We're instructed to use p1. Honor that
       
   377         elif deltamode == repository.CG_DELTAMODE_P1:
       
   378             baserev = p1rev
   376 
   379 
   377         # There is a delta in storage. We try to use that because it
   380         # There is a delta in storage. We try to use that because it
   378         # amounts to effectively copying data from storage and is
   381         # amounts to effectively copying data from storage and is
   379         # therefore the fastest.
   382         # therefore the fastest.
   380         elif deltaparentrev != nullrev:
   383         elif deltaparentrev != nullrev: