equal
deleted
inserted
replaced
679 This top level function focus on emitting groups with unique and worthwhile |
679 This top level function focus on emitting groups with unique and worthwhile |
680 content. See _raw_candidate_groups for details about the group order. |
680 content. See _raw_candidate_groups for details about the group order. |
681 """ |
681 """ |
682 # should we try to build a delta? |
682 # should we try to build a delta? |
683 if not (len(revlog) and revlog._storedeltachains): |
683 if not (len(revlog) and revlog._storedeltachains): |
|
684 yield None |
|
685 return |
|
686 |
|
687 if ( |
|
688 cachedelta is not None |
|
689 and nullrev == cachedelta[0] |
|
690 and cachedelta[2] == DELTA_BASE_REUSE_FORCE |
|
691 ): |
|
692 # instruction are to forcibly do a full snapshot |
684 yield None |
693 yield None |
685 return |
694 return |
686 |
695 |
687 deltalength = revlog.length |
696 deltalength = revlog.length |
688 deltaparent = revlog.deltaparent |
697 deltaparent = revlog.deltaparent |