278
278
Py_INCREF(__pyx_v_self);
279
279
Py_INCREF(__pyx_v_key);
281
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":74 */
281
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":74 */
282
282
Py_INCREF(__pyx_v_key);
283
283
Py_DECREF(((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_v_self)->key);
284
284
((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_v_self)->key = __pyx_v_key;
286
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":75 */
286
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":75 */
287
287
Py_INCREF(Py_None);
288
288
Py_DECREF(((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_v_self)->parents);
289
289
((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_v_self)->parents = Py_None;
291
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":77 */
291
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":77 */
292
292
__pyx_1 = PyList_New(0); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 77; goto __pyx_L1;}
293
293
Py_DECREF(((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_v_self)->children);
294
294
((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_v_self)->children = __pyx_1;
297
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":79 */
297
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":79 */
298
298
((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_v_self)->gdfo = (-1);
300
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":80 */
300
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":80 */
301
301
((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_v_self)->seen = 0;
303
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":81 */
303
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":81 */
304
304
Py_INCREF(Py_None);
305
305
Py_DECREF(((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_v_self)->extra);
306
306
((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_v_self)->extra = Py_None;
329
329
__pyx_v_child = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)Py_None); Py_INCREF(Py_None);
330
330
__pyx_v_keys = Py_None; Py_INCREF(Py_None);
332
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":87 */
332
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":87 */
333
333
__pyx_1 = PyList_New(0); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 87; goto __pyx_L1;}
334
334
Py_DECREF(__pyx_v_keys);
335
335
__pyx_v_keys = __pyx_1;
338
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":88 */
338
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":88 */
339
339
__pyx_1 = PyObject_GetIter(((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_v_self)->children); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 88; goto __pyx_L1;}
341
341
__pyx_2 = PyIter_Next(__pyx_1);
395
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":99 */
395
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":99 */
396
396
__pyx_2 = PyList_New(0); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 99; goto __pyx_L1;}
397
397
Py_DECREF(__pyx_v_keys);
398
398
__pyx_v_keys = __pyx_2;
401
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":100 */
401
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":100 */
402
402
__pyx_2 = PyObject_GetIter(((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_v_self)->parents); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 100; goto __pyx_L1;}
404
404
__pyx_3 = PyIter_Next(__pyx_2);
437
437
PyObject *__pyx_r;
438
438
Py_INCREF(__pyx_v_self);
440
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":105 */
440
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":105 */
441
441
Py_INCREF(Py_None);
442
442
Py_DECREF(__pyx_v_self->parents);
443
443
__pyx_v_self->parents = Py_None;
445
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":106 */
445
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":106 */
446
446
Py_INCREF(Py_None);
447
447
Py_DECREF(__pyx_v_self->children);
448
448
__pyx_v_self->children = Py_None;
468
468
__pyx_v_parent_keys = Py_None; Py_INCREF(Py_None);
469
469
__pyx_v_child_keys = Py_None; Py_INCREF(Py_None);
471
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":111 */
471
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":111 */
472
472
__pyx_1 = PyList_New(0); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 111; goto __pyx_L1;}
473
473
Py_DECREF(__pyx_v_parent_keys);
474
474
__pyx_v_parent_keys = __pyx_1;
477
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":112 */
477
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":112 */
478
478
__pyx_2 = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_v_self)->parents != Py_None;
480
480
__pyx_1 = PyObject_GetIter(((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_v_self)->parents); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 113; goto __pyx_L1;}
505
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":115 */
505
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":115 */
506
506
__pyx_3 = PyList_New(0); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 115; goto __pyx_L1;}
507
507
Py_DECREF(__pyx_v_child_keys);
508
508
__pyx_v_child_keys = __pyx_3;
511
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":116 */
511
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":116 */
512
512
__pyx_2 = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_v_self)->children != Py_None;
514
514
__pyx_4 = PyObject_GetIter(((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_v_self)->children); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 117; goto __pyx_L1;}
539
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":119 */
539
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":119 */
540
540
__pyx_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n___class__); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 120; goto __pyx_L1;}
541
541
__pyx_3 = PyObject_GetAttr(__pyx_1, __pyx_n___name__); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 120; goto __pyx_L1;}
542
542
Py_DECREF(__pyx_1); __pyx_1 = 0;
580
580
struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *__pyx_r;
581
581
Py_INCREF(__pyx_v_lst);
583
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":127 */
583
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":127 */
584
584
__pyx_v_temp_node = PyList_GET_ITEM(__pyx_v_lst,__pyx_v_pos);
586
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":128 */
586
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":128 */
587
587
Py_INCREF(((PyObject *)__pyx_v_temp_node));
588
588
__pyx_r = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_v_temp_node);
599
599
struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *__pyx_r;
600
600
Py_INCREF(__pyx_v_tpl);
602
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":134 */
602
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":134 */
603
603
__pyx_v_temp_node = PyTuple_GET_ITEM(__pyx_v_tpl,__pyx_v_pos);
605
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":135 */
605
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":135 */
606
606
Py_INCREF(((PyObject *)__pyx_v_temp_node));
607
607
__pyx_r = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_v_temp_node);
623
623
Py_INCREF(__pyx_v_node);
624
624
__pyx_v_real_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)Py_None); Py_INCREF(Py_None);
626
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":140 */
626
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":140 */
627
627
if (!__Pyx_TypeTest(__pyx_v_node, __pyx_ptype_6bzrlib_16_known_graph_pyx__KnownGraphNode)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 140; goto __pyx_L1;}
628
628
Py_INCREF(__pyx_v_node);
629
629
Py_DECREF(((PyObject *)__pyx_v_real_node));
630
630
__pyx_v_real_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_v_node);
632
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":141 */
632
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":141 */
633
633
Py_INCREF(__pyx_v_real_node->key);
634
634
__pyx_r = __pyx_v_real_node->key;
663
663
__pyx_v_node1 = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)Py_None); Py_INCREF(Py_None);
664
664
__pyx_v_node2 = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)Py_None); Py_INCREF(Py_None);
666
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":154 */
666
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":154 */
667
667
__pyx_v_is_tuple = PyTuple_CheckExact(__pyx_v_lst_or_tpl);
669
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":155 */
669
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":155 */
670
670
__pyx_1 = __pyx_v_is_tuple;
672
672
__pyx_1 = PyList_CheckExact(__pyx_v_lst_or_tpl);
688
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":157 */
688
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":157 */
689
689
__pyx_5 = PyObject_Length(__pyx_v_lst_or_tpl); if (__pyx_5 == -1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 157; goto __pyx_L1;}
690
690
__pyx_v_length = __pyx_5;
692
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":158 */
692
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":158 */
693
693
__pyx_1 = (__pyx_v_length == 0);
695
695
__pyx_1 = (__pyx_v_length == 1);
705
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":160 */
705
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":160 */
706
706
__pyx_2 = (__pyx_v_length == 2);
709
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":161 */
709
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":161 */
710
710
__pyx_1 = __pyx_v_is_tuple;
713
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":162 */
713
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":162 */
714
714
__pyx_3 = ((PyObject *)__pyx_f_6bzrlib_16_known_graph_pyx__get_tuple_node(__pyx_v_lst_or_tpl,0)); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 162; goto __pyx_L1;}
715
715
Py_DECREF(((PyObject *)__pyx_v_node1));
716
716
__pyx_v_node1 = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_3);
719
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":163 */
719
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":163 */
720
720
__pyx_4 = ((PyObject *)__pyx_f_6bzrlib_16_known_graph_pyx__get_tuple_node(__pyx_v_lst_or_tpl,1)); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 163; goto __pyx_L1;}
721
721
Py_DECREF(((PyObject *)__pyx_v_node2));
722
722
__pyx_v_node2 = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_4);
728
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":165 */
728
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":165 */
729
729
__pyx_3 = ((PyObject *)__pyx_f_6bzrlib_16_known_graph_pyx__get_list_node(__pyx_v_lst_or_tpl,0)); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 165; goto __pyx_L1;}
730
730
Py_DECREF(((PyObject *)__pyx_v_node1));
731
731
__pyx_v_node1 = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_3);
734
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":166 */
734
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":166 */
735
735
__pyx_4 = ((PyObject *)__pyx_f_6bzrlib_16_known_graph_pyx__get_list_node(__pyx_v_lst_or_tpl,1)); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 166; goto __pyx_L1;}
736
736
Py_DECREF(((PyObject *)__pyx_v_node2));
737
737
__pyx_v_node2 = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_4);
778
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":177 */
778
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":177 */
779
779
Py_INCREF(((PyObject *)__pyx_v_node1));
781
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":178 */
781
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":178 */
782
782
__pyx_1 = PyList_SetItem(__pyx_v_lst_or_tpl,1,((PyObject *)__pyx_v_node1)); if (__pyx_1 == (-1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 178; goto __pyx_L1;}
784
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":179 */
784
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":179 */
785
785
Py_INCREF(((PyObject *)__pyx_v_node2));
787
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":180 */
787
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":180 */
788
788
__pyx_2 = PyList_SetItem(__pyx_v_lst_or_tpl,0,((PyObject *)__pyx_v_node2)); if (__pyx_2 == (-1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 180; goto __pyx_L1;}
790
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":181 */
790
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":181 */
791
791
Py_INCREF(__pyx_v_lst_or_tpl);
792
792
__pyx_r = __pyx_v_lst_or_tpl;
815
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":186 */
815
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":186 */
816
816
__pyx_4 = PyObject_GetAttr(__pyx_v_lst_or_tpl, __pyx_n_sort); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 186; goto __pyx_L1;}
817
817
__pyx_3 = PyTuple_New(0); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 186; goto __pyx_L1;}
818
818
__pyx_6 = PyDict_New(); if (!__pyx_6) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 186; goto __pyx_L1;}
828
828
Py_DECREF(__pyx_6); __pyx_6 = 0;
829
829
Py_DECREF(__pyx_7); __pyx_7 = 0;
831
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":187 */
831
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":187 */
832
832
Py_INCREF(__pyx_v_lst_or_tpl);
833
833
__pyx_r = __pyx_v_lst_or_tpl;
865
865
Py_INCREF(__pyx_v_parent_map);
866
866
Py_INCREF(__pyx_v_do_cache);
868
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":205 */
868
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":205 */
869
869
__pyx_1 = PyDict_New(); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 205; goto __pyx_L1;}
870
870
Py_DECREF(((struct __pyx_obj_6bzrlib_16_known_graph_pyx_KnownGraph *)__pyx_v_self)->_nodes);
871
871
((struct __pyx_obj_6bzrlib_16_known_graph_pyx_KnownGraph *)__pyx_v_self)->_nodes = __pyx_1;
874
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":207 */
874
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":207 */
875
875
__pyx_1 = PyDict_New(); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 207; goto __pyx_L1;}
876
876
Py_DECREF(((struct __pyx_obj_6bzrlib_16_known_graph_pyx_KnownGraph *)__pyx_v_self)->_known_heads);
877
877
((struct __pyx_obj_6bzrlib_16_known_graph_pyx_KnownGraph *)__pyx_v_self)->_known_heads = __pyx_1;
880
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":208 */
880
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":208 */
881
881
__pyx_1 = PyTuple_New(1); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 208; goto __pyx_L1;}
882
882
Py_INCREF(__pyx_v_do_cache);
883
883
PyTuple_SET_ITEM(__pyx_1, 0, __pyx_v_do_cache);
887
887
Py_DECREF(__pyx_2); __pyx_2 = 0;
888
888
((struct __pyx_obj_6bzrlib_16_known_graph_pyx_KnownGraph *)__pyx_v_self)->do_cache = __pyx_3;
890
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":212 */
890
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":212 */
891
891
__pyx_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n__initialize_nodes); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 212; goto __pyx_L1;}
892
892
__pyx_2 = PyTuple_New(1); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 212; goto __pyx_L1;}
893
893
Py_INCREF(__pyx_v_parent_map);
897
897
Py_DECREF(__pyx_2); __pyx_2 = 0;
898
898
Py_DECREF(__pyx_4); __pyx_4 = 0;
900
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":213 */
900
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":213 */
901
901
__pyx_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n__find_gdfo); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 213; goto __pyx_L1;}
902
902
__pyx_2 = PyObject_CallObject(__pyx_1, 0); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 213; goto __pyx_L1;}
903
903
Py_DECREF(__pyx_1); __pyx_1 = 0;
928
928
Py_INCREF(__pyx_v_self);
929
929
__pyx_v_child = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)Py_None); Py_INCREF(Py_None);
931
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":220 */
931
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":220 */
933
933
__pyx_1 = PyDict_Next(((struct __pyx_obj_6bzrlib_16_known_graph_pyx_KnownGraph *)__pyx_v_self)->_nodes,(&__pyx_v_pos),NULL,(&__pyx_v_temp_node));
934
934
if (!__pyx_1) break;
936
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":221 */
936
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":221 */
937
937
Py_INCREF(((PyObject *)__pyx_v_temp_node));
938
938
Py_DECREF(((PyObject *)__pyx_v_child));
939
939
__pyx_v_child = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_v_temp_node);
941
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":222 */
941
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":222 */
942
942
__pyx_2 = ((struct __pyx_vtabstruct_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_v_child->__pyx_vtab)->clear_references(__pyx_v_child); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 222; goto __pyx_L1;}
943
943
Py_DECREF(__pyx_2); __pyx_2 = 0;
963
963
Py_INCREF(__pyx_v_key);
964
964
__pyx_v_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)Py_None); Py_INCREF(Py_None);
966
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":228 */
966
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":228 */
967
967
__pyx_v_temp_node = PyDict_GetItem(__pyx_v_self->_nodes,__pyx_v_key);
969
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":229 */
969
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":229 */
970
970
__pyx_1 = (__pyx_v_temp_node == NULL);
973
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":230 */
973
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":230 */
974
974
__pyx_2 = PyTuple_New(1); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 230; goto __pyx_L1;}
975
975
Py_INCREF(__pyx_v_key);
976
976
PyTuple_SET_ITEM(__pyx_2, 0, __pyx_v_key);
1026
1026
__pyx_v_parent_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)Py_None); Py_INCREF(Py_None);
1027
1027
__pyx_v_parent_nodes = Py_None; Py_INCREF(Py_None);
1029
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":240 */
1029
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":240 */
1030
1030
__pyx_1 = PyObject_Length(__pyx_v_parent_keys); if (__pyx_1 == -1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 240; goto __pyx_L1;}
1031
1031
__pyx_v_num_parent_keys = __pyx_1;
1033
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":242 */
1033
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":242 */
1034
1034
__pyx_2 = PyTuple_New(__pyx_v_num_parent_keys); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 242; goto __pyx_L1;}
1035
1035
Py_DECREF(__pyx_v_parent_nodes);
1036
1036
__pyx_v_parent_nodes = __pyx_2;
1039
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":243 */
1039
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":243 */
1040
1040
for (__pyx_v_pos = 0; __pyx_v_pos < __pyx_v_num_parent_keys; ++__pyx_v_pos) {
1042
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":251 */
1042
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":251 */
1043
1043
__pyx_2 = __Pyx_GetItemInt(__pyx_v_parent_keys, __pyx_v_pos); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 251; goto __pyx_L1;}
1044
1044
__pyx_3 = ((PyObject *)((struct __pyx_vtabstruct_6bzrlib_16_known_graph_pyx_KnownGraph *)__pyx_v_self->__pyx_vtab)->_get_or_create_node(__pyx_v_self,__pyx_2)); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 251; goto __pyx_L1;}
1045
1045
Py_DECREF(__pyx_2); __pyx_2 = 0;
1047
1047
__pyx_v_parent_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_3);
1050
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":253 */
1050
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":253 */
1051
1051
Py_INCREF(((PyObject *)__pyx_v_parent_node));
1053
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":254 */
1053
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":254 */
1054
1054
PyTuple_SET_ITEM(__pyx_v_parent_nodes,__pyx_v_pos,((PyObject *)__pyx_v_parent_node));
1056
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":255 */
1056
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":255 */
1057
1057
__pyx_4 = PyList_Append(__pyx_v_parent_node->children,((PyObject *)__pyx_v_node)); if (__pyx_4 == (-1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 255; goto __pyx_L1;}
1060
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":256 */
1060
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":256 */
1061
1061
Py_INCREF(__pyx_v_parent_nodes);
1062
1062
Py_DECREF(__pyx_v_node->parents);
1063
1063
__pyx_v_node->parents = __pyx_v_parent_nodes;
1100
1100
__pyx_v_key = Py_None; Py_INCREF(Py_None);
1101
1101
__pyx_v_parent_keys = Py_None; Py_INCREF(Py_None);
1103
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":272 */
1103
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":272 */
1104
1104
__pyx_1 = (!PyDict_CheckExact(__pyx_v_parent_map));
1106
1106
__pyx_2 = PyTuple_New(1); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 273; goto __pyx_L1;}
1118
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":275 */
1118
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":275 */
1119
1119
__pyx_v_pos = 0;
1121
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":276 */
1121
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":276 */
1123
1123
__pyx_1 = PyDict_Next(__pyx_v_parent_map,(&__pyx_v_pos),(&__pyx_v_temp_key),(&__pyx_v_temp_parent_keys));
1124
1124
if (!__pyx_1) break;
1126
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":277 */
1126
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":277 */
1127
1127
Py_INCREF(((PyObject *)__pyx_v_temp_key));
1128
1128
Py_DECREF(__pyx_v_key);
1129
1129
__pyx_v_key = ((PyObject *)__pyx_v_temp_key);
1131
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":278 */
1131
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":278 */
1132
1132
Py_INCREF(((PyObject *)__pyx_v_temp_parent_keys));
1133
1133
Py_DECREF(__pyx_v_parent_keys);
1134
1134
__pyx_v_parent_keys = ((PyObject *)__pyx_v_temp_parent_keys);
1136
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":279 */
1136
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":279 */
1137
1137
__pyx_2 = ((PyObject *)((struct __pyx_vtabstruct_6bzrlib_16_known_graph_pyx_KnownGraph *)((struct __pyx_obj_6bzrlib_16_known_graph_pyx_KnownGraph *)__pyx_v_self)->__pyx_vtab)->_get_or_create_node(((struct __pyx_obj_6bzrlib_16_known_graph_pyx_KnownGraph *)__pyx_v_self),__pyx_v_key)); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 279; goto __pyx_L1;}
1138
1138
Py_DECREF(((PyObject *)__pyx_v_node));
1139
1139
__pyx_v_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_2);
1142
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":280 */
1142
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":280 */
1143
1143
__pyx_3 = ((struct __pyx_vtabstruct_6bzrlib_16_known_graph_pyx_KnownGraph *)((struct __pyx_obj_6bzrlib_16_known_graph_pyx_KnownGraph *)__pyx_v_self)->__pyx_vtab)->_populate_parents(((struct __pyx_obj_6bzrlib_16_known_graph_pyx_KnownGraph *)__pyx_v_self),__pyx_v_node,__pyx_v_parent_keys); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 280; goto __pyx_L1;}
1144
1144
Py_DECREF(__pyx_3); __pyx_3 = 0;
1175
1175
__pyx_v_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)Py_None); Py_INCREF(Py_None);
1176
1176
__pyx_v_tails = Py_None; Py_INCREF(Py_None);
1178
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":287 */
1178
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":287 */
1179
1179
__pyx_1 = PyList_New(0); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 287; goto __pyx_L1;}
1180
1180
Py_DECREF(__pyx_v_tails);
1181
1181
__pyx_v_tails = __pyx_1;
1184
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":288 */
1184
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":288 */
1185
1185
__pyx_v_pos = 0;
1187
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":289 */
1187
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":289 */
1189
1189
__pyx_2 = PyDict_Next(((struct __pyx_obj_6bzrlib_16_known_graph_pyx_KnownGraph *)__pyx_v_self)->_nodes,(&__pyx_v_pos),NULL,(&__pyx_v_temp_node));
1190
1190
if (!__pyx_2) break;
1192
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":290 */
1192
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":290 */
1193
1193
Py_INCREF(((PyObject *)__pyx_v_temp_node));
1194
1194
Py_DECREF(((PyObject *)__pyx_v_node));
1195
1195
__pyx_v_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_v_temp_node);
1197
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":291 */
1197
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":291 */
1198
1198
__pyx_2 = __pyx_v_node->parents == Py_None;
1199
1199
if (!__pyx_2) {
1200
1200
__pyx_2 = (PyTuple_GET_SIZE(__pyx_v_node->parents) == 0);
1204
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":292 */
1204
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":292 */
1205
1205
__pyx_v_node->gdfo = 1;
1207
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":293 */
1207
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":293 */
1208
1208
__pyx_2 = PyList_Append(__pyx_v_tails,((PyObject *)__pyx_v_node)); if (__pyx_2 == (-1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 293; goto __pyx_L1;}
1214
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":294 */
1214
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":294 */
1215
1215
Py_INCREF(__pyx_v_tails);
1216
1216
__pyx_r = __pyx_v_tails;
1244
1244
__pyx_v_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)Py_None); Py_INCREF(Py_None);
1245
1245
__pyx_v_tips = Py_None; Py_INCREF(Py_None);
1247
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":301 */
1247
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":301 */
1248
1248
__pyx_1 = PyList_New(0); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 301; goto __pyx_L1;}
1249
1249
Py_DECREF(__pyx_v_tips);
1250
1250
__pyx_v_tips = __pyx_1;
1253
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":302 */
1253
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":302 */
1254
1254
__pyx_v_pos = 0;
1256
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":303 */
1256
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":303 */
1258
1258
__pyx_2 = PyDict_Next(((struct __pyx_obj_6bzrlib_16_known_graph_pyx_KnownGraph *)__pyx_v_self)->_nodes,(&__pyx_v_pos),NULL,(&__pyx_v_temp_node));
1259
1259
if (!__pyx_2) break;
1261
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":304 */
1261
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":304 */
1262
1262
Py_INCREF(((PyObject *)__pyx_v_temp_node));
1263
1263
Py_DECREF(((PyObject *)__pyx_v_node));
1264
1264
__pyx_v_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_v_temp_node);
1266
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":305 */
1266
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":305 */
1267
1267
__pyx_2 = (PyList_GET_SIZE(__pyx_v_node->children) == 0);
1269
1269
__pyx_2 = PyList_Append(__pyx_v_tips,((PyObject *)__pyx_v_node)); if (__pyx_2 == (-1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 306; goto __pyx_L1;}
1310
1310
__pyx_v_child = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)Py_None); Py_INCREF(Py_None);
1311
1311
__pyx_v_pending = Py_None; Py_INCREF(Py_None);
1313
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":318 */
1313
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":318 */
1314
1314
__pyx_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n__find_tails); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 318; goto __pyx_L1;}
1315
1315
__pyx_2 = PyObject_CallObject(__pyx_1, 0); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 318; goto __pyx_L1;}
1316
1316
Py_DECREF(__pyx_1); __pyx_1 = 0;
1318
1318
__pyx_v_pending = __pyx_2;
1321
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":320 */
1321
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":320 */
1322
1322
__pyx_v_last_item = (PyList_GET_SIZE(__pyx_v_pending) - 1);
1324
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":321 */
1324
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":321 */
1326
1326
__pyx_3 = (__pyx_v_last_item >= 0);
1327
1327
if (!__pyx_3) break;
1329
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":324 */
1329
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":324 */
1330
1330
__pyx_1 = ((PyObject *)__pyx_f_6bzrlib_16_known_graph_pyx__get_list_node(__pyx_v_pending,__pyx_v_last_item)); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 324; goto __pyx_L1;}
1331
1331
Py_DECREF(((PyObject *)__pyx_v_node));
1332
1332
__pyx_v_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_1);
1335
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":325 */
1335
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":325 */
1336
1336
__pyx_v_last_item = (__pyx_v_last_item - 1);
1338
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":326 */
1338
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":326 */
1339
1339
__pyx_v_next_gdfo = (__pyx_v_node->gdfo + 1);
1341
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":327 */
1341
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":327 */
1342
1342
__pyx_4 = PyList_GET_SIZE(__pyx_v_node->children);
1343
1343
for (__pyx_v_pos = 0; __pyx_v_pos < __pyx_4; ++__pyx_v_pos) {
1345
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":328 */
1345
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":328 */
1346
1346
__pyx_2 = ((PyObject *)__pyx_f_6bzrlib_16_known_graph_pyx__get_list_node(__pyx_v_node->children,__pyx_v_pos)); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 328; goto __pyx_L1;}
1347
1347
Py_DECREF(((PyObject *)__pyx_v_child));
1348
1348
__pyx_v_child = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_2);
1351
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":329 */
1351
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":329 */
1352
1352
__pyx_3 = (__pyx_v_next_gdfo > __pyx_v_child->gdfo);
1354
1354
__pyx_v_child->gdfo = __pyx_v_next_gdfo;
1359
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":331 */
1359
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":331 */
1360
1360
__pyx_v_child->seen = (__pyx_v_child->seen + 1);
1362
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":332 */
1362
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":332 */
1363
1363
__pyx_3 = (__pyx_v_child->seen == PyTuple_GET_SIZE(__pyx_v_child->parents));
1366
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":334 */
1366
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":334 */
1367
1367
__pyx_v_last_item = (__pyx_v_last_item + 1);
1369
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":335 */
1369
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":335 */
1370
1370
__pyx_3 = (__pyx_v_last_item < PyList_GET_SIZE(__pyx_v_pending));
1373
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":336 */
1373
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":336 */
1374
1374
Py_INCREF(((PyObject *)__pyx_v_child));
1376
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":337 */
1376
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":337 */
1377
1377
__pyx_3 = PyList_SetItem(__pyx_v_pending,__pyx_v_last_item,((PyObject *)__pyx_v_child)); if (__pyx_3 == (-1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 337; goto __pyx_L1;}
1439
1439
__pyx_v_pending_popleft = Py_None; Py_INCREF(Py_None);
1440
1440
__pyx_v_pending_append = Py_None; Py_INCREF(Py_None);
1442
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":359 */
1442
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":359 */
1443
1443
__pyx_v_maybe_node = PyDict_GetItem(((struct __pyx_obj_6bzrlib_16_known_graph_pyx_KnownGraph *)__pyx_v_self)->_nodes,__pyx_v_key);
1445
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":360 */
1445
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":360 */
1446
1446
__pyx_1 = (__pyx_v_maybe_node != NULL);
1449
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":361 */
1449
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":361 */
1450
1450
Py_INCREF(((PyObject *)__pyx_v_maybe_node));
1451
1451
Py_DECREF(((PyObject *)__pyx_v_node));
1452
1452
__pyx_v_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_v_maybe_node);
1454
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":362 */
1454
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":362 */
1455
1455
__pyx_1 = __pyx_v_node->parents == Py_None;
1458
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":364 */
1458
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":364 */
1459
1459
__pyx_2 = ((struct __pyx_vtabstruct_6bzrlib_16_known_graph_pyx_KnownGraph *)((struct __pyx_obj_6bzrlib_16_known_graph_pyx_KnownGraph *)__pyx_v_self)->__pyx_vtab)->_populate_parents(((struct __pyx_obj_6bzrlib_16_known_graph_pyx_KnownGraph *)__pyx_v_self),__pyx_v_node,__pyx_v_parent_keys); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 364; goto __pyx_L1;}
1460
1460
Py_DECREF(__pyx_2); __pyx_2 = 0;
1462
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":366 */
1462
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":366 */
1463
1463
__pyx_2 = PyObject_GetAttr(((struct __pyx_obj_6bzrlib_16_known_graph_pyx_KnownGraph *)__pyx_v_self)->_known_heads, __pyx_n_clear); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 366; goto __pyx_L1;}
1464
1464
__pyx_3 = PyObject_CallObject(__pyx_2, 0); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 366; goto __pyx_L1;}
1465
1465
Py_DECREF(__pyx_2); __pyx_2 = 0;
1471
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":368 */
1471
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":368 */
1472
1472
__pyx_2 = PyList_New(0); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 368; goto __pyx_L1;}
1473
1473
Py_DECREF(__pyx_v_existing_parent_keys);
1474
1474
__pyx_v_existing_parent_keys = __pyx_2;
1477
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":369 */
1477
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":369 */
1478
1478
__pyx_3 = PyObject_GetIter(__pyx_v_node->parents); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 369; goto __pyx_L1;}
1480
1480
__pyx_2 = PyIter_Next(__pyx_3);
1498
1498
Py_DECREF(__pyx_3); __pyx_3 = 0;
1500
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":373 */
1500
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":373 */
1501
1501
__pyx_2 = PyTuple_New(1); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 373; goto __pyx_L1;}
1502
1502
Py_INCREF(__pyx_v_parent_keys);
1503
1503
PyTuple_SET_ITEM(__pyx_2, 0, __pyx_v_parent_keys);
1551
1551
__pyx_v_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_3);
1554
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":383 */
1554
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":383 */
1555
1555
__pyx_1 = PyDict_SetItem(((struct __pyx_obj_6bzrlib_16_known_graph_pyx_KnownGraph *)__pyx_v_self)->_nodes,__pyx_v_key,((PyObject *)__pyx_v_node)); if (__pyx_1 == (-1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 383; goto __pyx_L1;}
1557
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":384 */
1557
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":384 */
1558
1558
__pyx_2 = ((struct __pyx_vtabstruct_6bzrlib_16_known_graph_pyx_KnownGraph *)((struct __pyx_obj_6bzrlib_16_known_graph_pyx_KnownGraph *)__pyx_v_self)->__pyx_vtab)->_populate_parents(((struct __pyx_obj_6bzrlib_16_known_graph_pyx_KnownGraph *)__pyx_v_self),__pyx_v_node,__pyx_v_parent_keys); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 384; goto __pyx_L1;}
1559
1559
Py_DECREF(__pyx_2); __pyx_2 = 0;
1563
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":385 */
1563
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":385 */
1564
1564
__pyx_v_parent_gdfo = 0;
1566
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":386 */
1566
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":386 */
1567
1567
__pyx_4 = PyObject_GetIter(__pyx_v_node->parents); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 386; goto __pyx_L1;}
1569
1569
__pyx_5 = PyIter_Next(__pyx_4);
1595
1595
Py_DECREF(__pyx_4); __pyx_4 = 0;
1597
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":392 */
1597
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":392 */
1598
1598
__pyx_v_node->gdfo = (__pyx_v_parent_gdfo + 1);
1600
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":401 */
1600
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":401 */
1601
1601
__pyx_3 = __Pyx_GetName(__pyx_m, __pyx_n_deque); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 401; goto __pyx_L1;}
1602
1602
__pyx_2 = PyList_New(1); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 401; goto __pyx_L1;}
1603
1603
Py_INCREF(((PyObject *)__pyx_v_node));
1612
1612
__pyx_v_pending = __pyx_4;
1615
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":402 */
1615
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":402 */
1616
1616
__pyx_2 = PyObject_GetAttr(__pyx_v_pending, __pyx_n_popleft); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 402; goto __pyx_L1;}
1617
1617
Py_DECREF(__pyx_v_pending_popleft);
1618
1618
__pyx_v_pending_popleft = __pyx_2;
1621
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":403 */
1621
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":403 */
1622
1622
__pyx_3 = PyObject_GetAttr(__pyx_v_pending, __pyx_n_append); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 403; goto __pyx_L1;}
1623
1623
Py_DECREF(__pyx_v_pending_append);
1624
1624
__pyx_v_pending_append = __pyx_3;
1627
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":404 */
1627
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":404 */
1629
1629
__pyx_1 = PyObject_IsTrue(__pyx_v_pending); if (__pyx_1 < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 404; goto __pyx_L1;}
1630
1630
if (!__pyx_1) break;
1632
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":405 */
1632
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":405 */
1633
1633
__pyx_5 = PyObject_CallObject(__pyx_v_pending_popleft, 0); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 405; goto __pyx_L1;}
1634
1634
if (!__Pyx_TypeTest(__pyx_5, __pyx_ptype_6bzrlib_16_known_graph_pyx__KnownGraphNode)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 405; goto __pyx_L1;}
1635
1635
Py_DECREF(((PyObject *)__pyx_v_node));
1636
1636
__pyx_v_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_5);
1639
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":406 */
1639
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":406 */
1640
1640
__pyx_v_next_gdfo = (__pyx_v_node->gdfo + 1);
1642
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":407 */
1642
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":407 */
1643
1643
__pyx_4 = PyObject_GetIter(__pyx_v_node->children); if (!__pyx_4) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 407; goto __pyx_L1;}
1645
1645
__pyx_2 = PyIter_Next(__pyx_4);
1654
1654
__pyx_1 = (__pyx_v_child_node->gdfo < __pyx_v_next_gdfo);
1657
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":411 */
1657
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":411 */
1658
1658
__pyx_v_child_node->gdfo = __pyx_v_next_gdfo;
1660
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":412 */
1660
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":412 */
1661
1661
__pyx_3 = PyTuple_New(1); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 412; goto __pyx_L1;}
1662
1662
Py_INCREF(((PyObject *)__pyx_v_child_node));
1663
1663
PyTuple_SET_ITEM(__pyx_3, 0, ((PyObject *)__pyx_v_child_node));
1732
1732
__pyx_v_parent_node = Py_None; Py_INCREF(Py_None);
1733
1733
__pyx_v_heads = Py_None; Py_INCREF(Py_None);
1735
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":435 */
1735
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":435 */
1736
1736
__pyx_1 = __Pyx_GetName(__pyx_b, __pyx_n_frozenset); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 435; goto __pyx_L1;}
1737
1737
__pyx_2 = PyTuple_New(1); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 435; goto __pyx_L1;}
1738
1738
Py_INCREF(__pyx_v_keys);
1744
1744
__pyx_v_heads_key = __pyx_3;
1747
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":436 */
1747
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":436 */
1748
1748
__pyx_v_maybe_heads = PyDict_GetItem(((struct __pyx_obj_6bzrlib_16_known_graph_pyx_KnownGraph *)__pyx_v_self)->_known_heads,__pyx_v_heads_key);
1750
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":437 */
1750
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":437 */
1751
1751
__pyx_4 = (__pyx_v_maybe_heads != NULL);
1753
1753
Py_INCREF(((PyObject *)__pyx_v_maybe_heads));
1760
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":440 */
1760
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":440 */
1761
1761
__pyx_1 = PyDict_New(); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 440; goto __pyx_L1;}
1762
1762
Py_DECREF(__pyx_v_candidate_nodes);
1763
1763
__pyx_v_candidate_nodes = __pyx_1;
1766
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":441 */
1766
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":441 */
1767
1767
__pyx_2 = PyObject_GetIter(__pyx_v_keys); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 441; goto __pyx_L1;}
1769
1769
__pyx_3 = PyIter_Next(__pyx_2);
1775
1775
__pyx_v_key = __pyx_3;
1778
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":442 */
1778
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":442 */
1779
1779
__pyx_v_maybe_node = PyDict_GetItem(((struct __pyx_obj_6bzrlib_16_known_graph_pyx_KnownGraph *)__pyx_v_self)->_nodes,__pyx_v_key);
1781
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":443 */
1781
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":443 */
1782
1782
__pyx_4 = (__pyx_v_maybe_node == NULL);
1784
1784
__pyx_1 = PyTuple_New(1); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 444; goto __pyx_L1;}
1801
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":445 */
1801
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":445 */
1802
1802
__pyx_4 = PyDict_SetItem(__pyx_v_candidate_nodes,__pyx_v_key,((PyObject *)__pyx_v_maybe_node)); if (__pyx_4 == (-1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 445; goto __pyx_L1;}
1804
1804
Py_DECREF(__pyx_2); __pyx_2 = 0;
1806
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":446 */
1806
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":446 */
1807
1807
__pyx_v_maybe_node = PyDict_GetItem(__pyx_v_candidate_nodes,__pyx_v_6bzrlib_16_known_graph_pyx_NULL_REVISION);
1809
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":447 */
1809
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":447 */
1810
1810
__pyx_4 = (__pyx_v_maybe_node != NULL);
1813
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":449 */
1813
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":449 */
1814
1814
__pyx_1 = PyObject_GetAttr(__pyx_v_candidate_nodes, __pyx_n_pop); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 449; goto __pyx_L1;}
1815
1815
__pyx_3 = PyTuple_New(1); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 449; goto __pyx_L1;}
1816
1816
Py_INCREF(__pyx_v_6bzrlib_16_known_graph_pyx_NULL_REVISION);
1844
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":453 */
1844
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":453 */
1845
1845
__pyx_1 = __Pyx_GetName(__pyx_b, __pyx_n_frozenset); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 453; goto __pyx_L1;}
1846
1846
__pyx_2 = PyTuple_New(1); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 453; goto __pyx_L1;}
1847
1847
Py_INCREF(__pyx_v_candidate_nodes);
1870
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":457 */
1870
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":457 */
1871
1871
__pyx_1 = PyList_New(0); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 457; goto __pyx_L1;}
1872
1872
Py_DECREF(__pyx_v_cleanup);
1873
1873
__pyx_v_cleanup = __pyx_1;
1876
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":458 */
1876
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":458 */
1877
1877
__pyx_2 = PyList_New(0); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 458; goto __pyx_L1;}
1878
1878
Py_DECREF(__pyx_v_pending);
1879
1879
__pyx_v_pending = __pyx_2;
1882
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":460 */
1882
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":460 */
1883
1883
__pyx_6 = PyDict_Size(((struct __pyx_obj_6bzrlib_16_known_graph_pyx_KnownGraph *)__pyx_v_self)->_nodes); if (__pyx_6 == (-1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 460; goto __pyx_L1;}
1884
1884
__pyx_v_min_gdfo = (__pyx_6 + 1);
1886
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":463 */
1886
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":463 */
1887
1887
__pyx_v_pos = 0;
1889
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":464 */
1889
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":464 */
1891
1891
__pyx_5 = PyDict_Next(__pyx_v_candidate_nodes,(&__pyx_v_pos),NULL,(&__pyx_v_temp_node));
1892
1892
if (!__pyx_5) break;
1894
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":465 */
1894
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":465 */
1895
1895
Py_INCREF(((PyObject *)__pyx_v_temp_node));
1896
1896
Py_DECREF(((PyObject *)__pyx_v_node));
1897
1897
__pyx_v_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_v_temp_node);
1899
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":466 */
1899
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":466 */
1900
1900
__pyx_4 = __pyx_v_node->parents != Py_None;
1902
1902
__pyx_3 = PyObject_GetAttr(__pyx_v_pending, __pyx_n_extend); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 467; goto __pyx_L1;}
1923
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":472 */
1923
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":472 */
1924
1924
__pyx_v_last_item = (PyList_GET_SIZE(__pyx_v_pending) - 1);
1926
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":473 */
1926
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":473 */
1928
1928
__pyx_4 = (__pyx_v_last_item >= 0);
1929
1929
if (!__pyx_4) break;
1931
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":474 */
1931
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":474 */
1932
1932
__pyx_3 = ((PyObject *)__pyx_f_6bzrlib_16_known_graph_pyx__get_list_node(__pyx_v_pending,__pyx_v_last_item)); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 474; goto __pyx_L1;}
1933
1933
Py_DECREF(((PyObject *)__pyx_v_node));
1934
1934
__pyx_v_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_3);
1937
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":475 */
1937
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":475 */
1938
1938
__pyx_v_last_item = (__pyx_v_last_item - 1);
1940
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":476 */
1940
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":476 */
1941
1941
__pyx_5 = __pyx_v_node->seen;
1943
1943
goto __pyx_L13;
1948
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":479 */
1948
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":479 */
1949
1949
__pyx_4 = PyList_Append(__pyx_v_cleanup,((PyObject *)__pyx_v_node)); if (__pyx_4 == (-1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 479; goto __pyx_L1;}
1951
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":480 */
1951
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":480 */
1952
1952
__pyx_v_node->seen = 1;
1954
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":481 */
1954
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":481 */
1955
1955
__pyx_5 = (__pyx_v_node->gdfo <= __pyx_v_min_gdfo);
1957
1957
goto __pyx_L13;
1968
1968
__pyx_6 = PyTuple_GET_SIZE(__pyx_v_node->parents);
1969
1969
for (__pyx_v_pos = 0; __pyx_v_pos < __pyx_6; ++__pyx_v_pos) {
1971
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":485 */
1971
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":485 */
1972
1972
__pyx_1 = ((PyObject *)__pyx_f_6bzrlib_16_known_graph_pyx__get_tuple_node(__pyx_v_node->parents,__pyx_v_pos)); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 485; goto __pyx_L1;}
1973
1973
Py_DECREF(__pyx_v_parent_node);
1974
1974
__pyx_v_parent_node = __pyx_1;
1977
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":486 */
1977
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":486 */
1978
1978
__pyx_v_last_item = (__pyx_v_last_item + 1);
1980
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":487 */
1980
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":487 */
1981
1981
__pyx_5 = (__pyx_v_last_item < PyList_GET_SIZE(__pyx_v_pending));
1984
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":488 */
1984
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":488 */
1985
1985
Py_INCREF(__pyx_v_parent_node);
1987
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":489 */
1987
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":489 */
1988
1988
__pyx_4 = PyList_SetItem(__pyx_v_pending,__pyx_v_last_item,__pyx_v_parent_node); if (__pyx_4 == (-1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 489; goto __pyx_L1;}
1989
1989
goto __pyx_L20;
2002
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":492 */
2002
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":492 */
2003
2003
__pyx_2 = PyList_New(0); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 492; goto __pyx_L1;}
2004
2004
Py_DECREF(__pyx_v_heads);
2005
2005
__pyx_v_heads = __pyx_2;
2008
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":493 */
2008
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":493 */
2009
2009
__pyx_v_pos = 0;
2011
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":494 */
2011
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":494 */
2013
2013
__pyx_4 = PyDict_Next(__pyx_v_candidate_nodes,(&__pyx_v_pos),NULL,(&__pyx_v_temp_node));
2014
2014
if (!__pyx_4) break;
2016
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":495 */
2016
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":495 */
2017
2017
Py_INCREF(((PyObject *)__pyx_v_temp_node));
2018
2018
Py_DECREF(((PyObject *)__pyx_v_node));
2019
2019
__pyx_v_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_v_temp_node);
2021
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":496 */
2021
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":496 */
2022
2022
__pyx_5 = (!__pyx_v_node->seen);
2024
2024
__pyx_4 = PyList_Append(__pyx_v_heads,__pyx_v_node->key); if (__pyx_4 == (-1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 497; goto __pyx_L1;}
2030
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":498 */
2030
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":498 */
2031
2031
__pyx_3 = __Pyx_GetName(__pyx_b, __pyx_n_frozenset); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 498; goto __pyx_L1;}
2032
2032
__pyx_1 = PyTuple_New(1); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 498; goto __pyx_L1;}
2033
2033
Py_INCREF(__pyx_v_heads);
2039
2039
__pyx_v_heads = __pyx_2;
2042
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":499 */
2042
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":499 */
2043
2043
__pyx_6 = PyList_GET_SIZE(__pyx_v_cleanup);
2044
2044
for (__pyx_v_pos = 0; __pyx_v_pos < __pyx_6; ++__pyx_v_pos) {
2046
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":500 */
2046
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":500 */
2047
2047
__pyx_3 = ((PyObject *)__pyx_f_6bzrlib_16_known_graph_pyx__get_list_node(__pyx_v_cleanup,__pyx_v_pos)); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 500; goto __pyx_L1;}
2048
2048
Py_DECREF(((PyObject *)__pyx_v_node));
2049
2049
__pyx_v_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_3);
2052
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":501 */
2052
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":501 */
2053
2053
__pyx_v_node->seen = 0;
2056
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":502 */
2056
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":502 */
2057
2057
__pyx_5 = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx_KnownGraph *)__pyx_v_self)->do_cache;
2059
2059
__pyx_4 = PyDict_SetItem(((struct __pyx_obj_6bzrlib_16_known_graph_pyx_KnownGraph *)__pyx_v_self)->_known_heads,__pyx_v_heads_key,__pyx_v_heads); if (__pyx_4 == (-1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 503; goto __pyx_L1;}
2111
2111
__pyx_v_pending = Py_None; Py_INCREF(Py_None);
2112
2112
__pyx_v_topo_order = Py_None; Py_INCREF(Py_None);
2114
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":523 */
2114
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":523 */
2115
2115
__pyx_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n__find_tails); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 523; goto __pyx_L1;}
2116
2116
__pyx_2 = PyObject_CallObject(__pyx_1, 0); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 523; goto __pyx_L1;}
2117
2117
Py_DECREF(__pyx_1); __pyx_1 = 0;
2145
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":527 */
2145
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":527 */
2146
2146
__pyx_2 = PyList_New(0); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 527; goto __pyx_L1;}
2147
2147
Py_DECREF(__pyx_v_topo_order);
2148
2148
__pyx_v_topo_order = __pyx_2;
2151
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":529 */
2151
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":529 */
2152
2152
__pyx_v_last_item = (PyList_GET_SIZE(__pyx_v_pending) - 1);
2154
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":530 */
2154
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":530 */
2156
2156
__pyx_3 = (__pyx_v_last_item >= 0);
2157
2157
if (!__pyx_3) break;
2159
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":533 */
2159
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":533 */
2160
2160
__pyx_1 = ((PyObject *)__pyx_f_6bzrlib_16_known_graph_pyx__get_list_node(__pyx_v_pending,__pyx_v_last_item)); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 533; goto __pyx_L1;}
2161
2161
Py_DECREF(((PyObject *)__pyx_v_node));
2162
2162
__pyx_v_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_1);
2165
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":534 */
2165
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":534 */
2166
2166
__pyx_v_last_item = (__pyx_v_last_item - 1);
2168
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":535 */
2168
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":535 */
2169
2169
__pyx_3 = __pyx_v_node->parents != Py_None;
2171
2171
__pyx_3 = PyList_Append(__pyx_v_topo_order,__pyx_v_node->key); if (__pyx_3 == (-1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 537; goto __pyx_L1;}
2176
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":538 */
2176
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":538 */
2177
2177
__pyx_4 = PyList_GET_SIZE(__pyx_v_node->children);
2178
2178
for (__pyx_v_pos = 0; __pyx_v_pos < __pyx_4; ++__pyx_v_pos) {
2180
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":539 */
2180
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":539 */
2181
2181
__pyx_5 = ((PyObject *)__pyx_f_6bzrlib_16_known_graph_pyx__get_list_node(__pyx_v_node->children,__pyx_v_pos)); if (!__pyx_5) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 539; goto __pyx_L1;}
2182
2182
Py_DECREF(((PyObject *)__pyx_v_child));
2183
2183
__pyx_v_child = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_5);
2186
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":540 */
2186
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":540 */
2187
2187
__pyx_3 = (__pyx_v_child->gdfo == (-1));
2189
2189
__pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_errors); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 543; goto __pyx_L1;}
2205
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":544 */
2205
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":544 */
2206
2206
__pyx_v_child->seen = (__pyx_v_child->seen + 1);
2208
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":545 */
2208
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":545 */
2209
2209
__pyx_3 = (__pyx_v_child->seen == PyTuple_GET_SIZE(__pyx_v_child->parents));
2212
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":548 */
2212
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":548 */
2213
2213
__pyx_v_last_item = (__pyx_v_last_item + 1);
2215
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":549 */
2215
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":549 */
2216
2216
__pyx_3 = (__pyx_v_last_item < PyList_GET_SIZE(__pyx_v_pending));
2219
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":550 */
2219
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":550 */
2220
2220
Py_INCREF(((PyObject *)__pyx_v_child));
2222
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":551 */
2222
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":551 */
2223
2223
__pyx_3 = PyList_SetItem(__pyx_v_pending,__pyx_v_last_item,((PyObject *)__pyx_v_child)); if (__pyx_3 == (-1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 551; goto __pyx_L1;}
2224
2224
goto __pyx_L10;
2293
2293
__pyx_v_pending = Py_None; Py_INCREF(Py_None);
2294
2294
__pyx_v_parents = Py_None; Py_INCREF(Py_None);
2296
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":575 */
2296
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":575 */
2297
2297
__pyx_1 = PyObject_GetAttr(__pyx_v_self, __pyx_n__find_tips); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 575; goto __pyx_L1;}
2298
2298
__pyx_2 = PyObject_CallObject(__pyx_1, 0); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 575; goto __pyx_L1;}
2299
2299
Py_DECREF(__pyx_1); __pyx_1 = 0;
2301
2301
__pyx_v_tips = __pyx_2;
2304
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":577 */
2304
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":577 */
2305
2305
__pyx_1 = PyDict_New(); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 577; goto __pyx_L1;}
2306
2306
Py_DECREF(__pyx_v_prefix_tips);
2307
2307
__pyx_v_prefix_tips = __pyx_1;
2310
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":578 */
2310
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":578 */
2311
2311
__pyx_3 = PyList_GET_SIZE(__pyx_v_tips);
2312
2312
for (__pyx_v_pos = 0; __pyx_v_pos < __pyx_3; ++__pyx_v_pos) {
2314
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":579 */
2314
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":579 */
2315
2315
__pyx_2 = ((PyObject *)__pyx_f_6bzrlib_16_known_graph_pyx__get_list_node(__pyx_v_tips,__pyx_v_pos)); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 579; goto __pyx_L1;}
2316
2316
Py_DECREF(((PyObject *)__pyx_v_node));
2317
2317
__pyx_v_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_2);
2320
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":580 */
2320
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":580 */
2321
2321
__pyx_4 = PyString_CheckExact(__pyx_v_node->key);
2322
2322
if (!__pyx_4) {
2323
2323
__pyx_5 = PyObject_Length(__pyx_v_node->key); if (__pyx_5 == -1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 580; goto __pyx_L1;}
2340
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":584 */
2340
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":584 */
2341
2341
__pyx_v_temp = PyDict_GetItem(__pyx_v_prefix_tips,__pyx_v_prefix);
2343
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":585 */
2343
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":585 */
2344
2344
__pyx_4 = (__pyx_v_temp == NULL);
2346
2346
__pyx_2 = PyList_New(1); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 586; goto __pyx_L1;}
2355
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":588 */
2355
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":588 */
2356
2356
Py_INCREF(((PyObject *)__pyx_v_temp));
2357
2357
Py_DECREF(__pyx_v_tip_nodes);
2358
2358
__pyx_v_tip_nodes = ((PyObject *)__pyx_v_temp);
2360
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":589 */
2360
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":589 */
2361
2361
__pyx_4 = PyList_Append(__pyx_v_tip_nodes,((PyObject *)__pyx_v_node)); if (__pyx_4 == (-1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 589; goto __pyx_L1;}
2366
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":591 */
2366
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":591 */
2367
2367
__pyx_1 = PyList_New(0); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 591; goto __pyx_L1;}
2368
2368
Py_DECREF(__pyx_v_result);
2369
2369
__pyx_v_result = __pyx_1;
2372
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":592 */
2372
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":592 */
2373
2373
__pyx_2 = __Pyx_GetName(__pyx_b, __pyx_n_sorted); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; goto __pyx_L1;}
2374
2374
__pyx_1 = PyTuple_New(1); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 592; goto __pyx_L1;}
2375
2375
Py_INCREF(__pyx_v_prefix_tips);
2389
2389
__pyx_v_prefix = __pyx_1;
2392
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":593 */
2392
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":593 */
2393
2393
__pyx_v_temp = PyDict_GetItem(__pyx_v_prefix_tips,__pyx_v_prefix);
2395
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":594 */
2395
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":594 */
2396
2396
#ifndef PYREX_WITHOUT_ASSERTIONS
2397
2397
if (!(__pyx_v_temp != NULL)) {
2398
2398
PyErr_SetNone(PyExc_AssertionError);
2403
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":595 */
2403
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":595 */
2404
2404
Py_INCREF(((PyObject *)__pyx_v_temp));
2405
2405
Py_DECREF(__pyx_v_tip_nodes);
2406
2406
__pyx_v_tip_nodes = ((PyObject *)__pyx_v_temp);
2408
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":596 */
2408
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":596 */
2409
2409
__pyx_6 = __pyx_f_6bzrlib_16_known_graph_pyx__sort_list_nodes(__pyx_v_tip_nodes,1); if (!__pyx_6) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 596; goto __pyx_L1;}
2410
2410
Py_DECREF(__pyx_v_pending);
2411
2411
__pyx_v_pending = __pyx_6;
2414
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":597 */
2414
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":597 */
2415
2415
__pyx_v_last_item = (PyList_GET_SIZE(__pyx_v_pending) - 1);
2417
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":598 */
2417
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":598 */
2419
2419
__pyx_4 = (__pyx_v_last_item >= 0);
2420
2420
if (!__pyx_4) break;
2422
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":599 */
2422
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":599 */
2423
2423
__pyx_1 = ((PyObject *)__pyx_f_6bzrlib_16_known_graph_pyx__get_list_node(__pyx_v_pending,__pyx_v_last_item)); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 599; goto __pyx_L1;}
2424
2424
Py_DECREF(((PyObject *)__pyx_v_node));
2425
2425
__pyx_v_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_1);
2428
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":600 */
2428
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":600 */
2429
2429
__pyx_v_last_item = (__pyx_v_last_item - 1);
2431
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":601 */
2431
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":601 */
2432
2432
__pyx_4 = __pyx_v_node->parents == Py_None;
2439
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":604 */
2439
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":604 */
2440
2440
__pyx_4 = PyList_Append(__pyx_v_result,__pyx_v_node->key); if (__pyx_4 == (-1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 604; goto __pyx_L1;}
2442
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":611 */
2442
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":611 */
2443
2443
__pyx_6 = __pyx_f_6bzrlib_16_known_graph_pyx__sort_list_nodes(__pyx_v_node->parents,1); if (!__pyx_6) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 611; goto __pyx_L1;}
2444
2444
Py_DECREF(__pyx_v_parents);
2445
2445
__pyx_v_parents = __pyx_6;
2448
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":612 */
2448
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":612 */
2449
2449
__pyx_5 = PyObject_Length(__pyx_v_parents); if (__pyx_5 == -1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 612; goto __pyx_L1;}
2450
2450
for (__pyx_v_pos = 0; __pyx_v_pos < __pyx_5; ++__pyx_v_pos) {
2452
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":613 */
2452
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":613 */
2453
2453
__pyx_4 = PyTuple_CheckExact(__pyx_v_parents);
2455
2455
__pyx_1 = ((PyObject *)__pyx_f_6bzrlib_16_known_graph_pyx__get_tuple_node(__pyx_v_parents,__pyx_v_pos)); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 614; goto __pyx_L1;}
2469
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":618 */
2469
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":618 */
2470
2470
__pyx_v_parent_node->seen = (__pyx_v_parent_node->seen + 1);
2472
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":619 */
2472
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":619 */
2473
2473
__pyx_4 = (__pyx_v_parent_node->seen == PyList_GET_SIZE(__pyx_v_parent_node->children));
2476
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":623 */
2476
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":623 */
2477
2477
__pyx_v_last_item = (__pyx_v_last_item + 1);
2479
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":624 */
2479
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":624 */
2480
2480
__pyx_4 = (__pyx_v_last_item < PyList_GET_SIZE(__pyx_v_pending));
2483
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":625 */
2483
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":625 */
2484
2484
Py_INCREF(((PyObject *)__pyx_v_parent_node));
2486
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":626 */
2486
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":626 */
2487
2487
__pyx_4 = PyList_SetItem(__pyx_v_pending,__pyx_v_last_item,((PyObject *)__pyx_v_parent_node)); if (__pyx_4 == (-1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 626; goto __pyx_L1;}
2488
2488
goto __pyx_L15;
2544
2544
Py_INCREF(__pyx_v_tip_key);
2545
2545
__pyx_v_sorter = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSorter *)Py_None); Py_INCREF(Py_None);
2547
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":639 */
2547
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":639 */
2548
2548
__pyx_1 = PyTuple_New(2); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 639; goto __pyx_L1;}
2549
2549
Py_INCREF(__pyx_v_self);
2550
2550
PyTuple_SET_ITEM(__pyx_1, 0, __pyx_v_self);
2647
2647
Py_INCREF(__pyx_v_self);
2648
2648
Py_INCREF(__pyx_v_key);
2650
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":687 */
2650
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":687 */
2651
2651
Py_INCREF(__pyx_v_key);
2652
2652
Py_DECREF(((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSortNode *)__pyx_v_self)->key);
2653
2653
((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSortNode *)__pyx_v_self)->key = __pyx_v_key;
2655
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":688 */
2655
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":688 */
2656
2656
((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSortNode *)__pyx_v_self)->merge_depth = (-1);
2658
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":689 */
2658
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":689 */
2659
2659
Py_INCREF(Py_None);
2660
2660
Py_DECREF(((PyObject *)((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSortNode *)__pyx_v_self)->left_parent));
2661
2661
((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSortNode *)__pyx_v_self)->left_parent = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)Py_None);
2663
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":690 */
2663
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":690 */
2664
2664
Py_INCREF(Py_None);
2665
2665
Py_DECREF(((PyObject *)((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSortNode *)__pyx_v_self)->left_pending_parent));
2666
2666
((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSortNode *)__pyx_v_self)->left_pending_parent = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)Py_None);
2668
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":691 */
2668
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":691 */
2669
2669
Py_INCREF(Py_None);
2670
2670
Py_DECREF(((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSortNode *)__pyx_v_self)->pending_parents);
2671
2671
((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSortNode *)__pyx_v_self)->pending_parents = Py_None;
2673
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":692 */
2673
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":692 */
2674
2674
((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSortNode *)__pyx_v_self)->_revno_first = (-1);
2676
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":693 */
2676
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":693 */
2677
2677
((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSortNode *)__pyx_v_self)->_revno_second = (-1);
2679
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":694 */
2679
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":694 */
2680
2680
((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSortNode *)__pyx_v_self)->_revno_last = (-1);
2682
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":695 */
2682
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":695 */
2683
2683
((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSortNode *)__pyx_v_self)->is_first_child = 0;
2685
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":696 */
2685
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":696 */
2686
2686
((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSortNode *)__pyx_v_self)->seen_by_child = 0;
2688
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":697 */
2688
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":697 */
2689
2689
((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSortNode *)__pyx_v_self)->completed = 0;
2829
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":715 */
2829
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":715 */
2830
2830
__pyx_2 = PyInt_FromLong(__pyx_v_self->_revno_last); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 715; goto __pyx_L1;}
2831
2831
__pyx_3 = PyTuple_New(1); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 715; goto __pyx_L1;}
2832
2832
PyTuple_SET_ITEM(__pyx_3, 0, __pyx_2);
2903
2903
Py_INCREF(__pyx_v_tip_key);
2904
2904
__pyx_v_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)Py_None); Py_INCREF(Py_None);
2906
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":746 */
2906
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":746 */
2907
2907
if (!__Pyx_TypeTest(__pyx_v_known_graph, __pyx_ptype_6bzrlib_16_known_graph_pyx_KnownGraph)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 746; goto __pyx_L1;}
2908
2908
Py_INCREF(__pyx_v_known_graph);
2909
2909
Py_DECREF(((PyObject *)((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSorter *)__pyx_v_self)->graph));
2910
2910
((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSorter *)__pyx_v_self)->graph = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx_KnownGraph *)__pyx_v_known_graph);
2912
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":748 */
2912
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":748 */
2913
2913
__pyx_1 = PyDict_New(); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 748; goto __pyx_L1;}
2914
2914
Py_DECREF(((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSorter *)__pyx_v_self)->_revno_to_branch_count);
2915
2915
((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSorter *)__pyx_v_self)->_revno_to_branch_count = __pyx_1;
2918
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":749 */
2918
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":749 */
2919
2919
__pyx_1 = PyList_New(0); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 749; goto __pyx_L1;}
2920
2920
Py_DECREF(((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSorter *)__pyx_v_self)->_depth_first_stack);
2921
2921
((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSorter *)__pyx_v_self)->_depth_first_stack = __pyx_1;
2924
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":750 */
2924
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":750 */
2925
2925
((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSorter *)__pyx_v_self)->_last_stack_item = (-1);
2927
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":751 */
2927
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":751 */
2928
2928
__pyx_1 = PyList_New(0); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 751; goto __pyx_L1;}
2929
2929
Py_DECREF(((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSorter *)__pyx_v_self)->_scheduled_nodes);
2930
2930
((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSorter *)__pyx_v_self)->_scheduled_nodes = __pyx_1;
2933
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":752 */
2933
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":752 */
2934
2934
__pyx_2 = __pyx_v_tip_key != Py_None;
2936
2936
if (PyObject_Cmp(__pyx_v_tip_key, __pyx_v_6bzrlib_16_known_graph_pyx_NULL_REVISION, &__pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 752; goto __pyx_L1;}
2949
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":754 */
2949
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":754 */
2950
2950
__pyx_1 = PyObject_GetItem(((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSorter *)__pyx_v_self)->graph->_nodes, __pyx_v_tip_key); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 754; goto __pyx_L1;}
2951
2951
if (!__Pyx_TypeTest(__pyx_1, __pyx_ptype_6bzrlib_16_known_graph_pyx__KnownGraphNode)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 754; goto __pyx_L1;}
2952
2952
Py_DECREF(((PyObject *)__pyx_v_node));
2953
2953
__pyx_v_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_1);
2956
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":755 */
2956
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":755 */
2957
2957
__pyx_1 = ((struct __pyx_vtabstruct_6bzrlib_16_known_graph_pyx__MergeSorter *)((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSorter *)__pyx_v_self)->__pyx_vtab)->_push_node(((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSorter *)__pyx_v_self),__pyx_v_node,0); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 755; goto __pyx_L1;}
2958
2958
Py_DECREF(__pyx_1); __pyx_1 = 0;
2984
2984
Py_INCREF(__pyx_v_node);
2985
2985
__pyx_v_ms_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSortNode *)Py_None); Py_INCREF(Py_None);
2987
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":761 */
2987
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":761 */
2988
2988
__pyx_1 = __pyx_v_node->extra == Py_None;
2991
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":762 */
2991
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":762 */
2992
2992
__pyx_2 = PyTuple_New(1); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 762; goto __pyx_L1;}
2993
2993
Py_INCREF(__pyx_v_node->key);
2994
2994
PyTuple_SET_ITEM(__pyx_2, 0, __pyx_v_node->key);
2998
2998
__pyx_v_ms_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSortNode *)__pyx_3);
3001
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":763 */
3001
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":763 */
3002
3002
Py_INCREF(((PyObject *)__pyx_v_ms_node));
3003
3003
Py_DECREF(__pyx_v_node->extra);
3004
3004
__pyx_v_node->extra = ((PyObject *)__pyx_v_ms_node);
3046
3046
__pyx_v_ms_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSortNode *)Py_None); Py_INCREF(Py_None);
3047
3047
__pyx_v_ms_parent_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSortNode *)Py_None); Py_INCREF(Py_None);
3049
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":773 */
3049
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":773 */
3050
3050
__pyx_1 = ((PyObject *)((struct __pyx_vtabstruct_6bzrlib_16_known_graph_pyx__MergeSorter *)__pyx_v_self->__pyx_vtab)->_get_ms_node(__pyx_v_self,__pyx_v_node)); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 773; goto __pyx_L1;}
3051
3051
Py_DECREF(((PyObject *)__pyx_v_ms_node));
3052
3052
__pyx_v_ms_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSortNode *)__pyx_1);
3055
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":774 */
3055
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":774 */
3056
3056
__pyx_v_ms_node->merge_depth = __pyx_v_merge_depth;
3058
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":775 */
3058
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":775 */
3059
3059
__pyx_2 = __pyx_v_node->parents == Py_None;
3061
3061
__pyx_1 = PyTuple_New(1); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 777; goto __pyx_L1;}
3078
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":778 */
3078
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":778 */
3079
3079
__pyx_2 = (PyTuple_GET_SIZE(__pyx_v_node->parents) > 0);
3082
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":779 */
3082
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":779 */
3083
3083
__pyx_1 = ((PyObject *)__pyx_f_6bzrlib_16_known_graph_pyx__get_tuple_node(__pyx_v_node->parents,0)); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 779; goto __pyx_L1;}
3084
3084
Py_DECREF(((PyObject *)__pyx_v_parent_node));
3085
3085
__pyx_v_parent_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_1);
3088
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":780 */
3088
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":780 */
3089
3089
Py_INCREF(((PyObject *)__pyx_v_parent_node));
3090
3090
Py_DECREF(((PyObject *)__pyx_v_ms_node->left_parent));
3091
3091
__pyx_v_ms_node->left_parent = __pyx_v_parent_node;
3093
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":781 */
3093
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":781 */
3094
3094
__pyx_2 = __pyx_v_parent_node->parents == Py_None;
3097
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":782 */
3097
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":782 */
3098
3098
Py_INCREF(Py_None);
3099
3099
Py_DECREF(((PyObject *)__pyx_v_ms_node->left_pending_parent));
3100
3100
__pyx_v_ms_node->left_pending_parent = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)Py_None);
3102
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":783 */
3102
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":783 */
3103
3103
Py_INCREF(Py_None);
3104
3104
Py_DECREF(((PyObject *)__pyx_v_ms_node->left_parent));
3105
3105
__pyx_v_ms_node->left_parent = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)Py_None);
3118
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":786 */
3118
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":786 */
3119
3119
__pyx_2 = (PyTuple_GET_SIZE(__pyx_v_node->parents) > 1);
3122
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":787 */
3122
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":787 */
3123
3123
__pyx_3 = PyList_New(0); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 787; goto __pyx_L1;}
3124
3124
Py_DECREF(__pyx_v_ms_node->pending_parents);
3125
3125
__pyx_v_ms_node->pending_parents = __pyx_3;
3128
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":788 */
3128
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":788 */
3129
3129
__pyx_4 = PyTuple_GET_SIZE(__pyx_v_node->parents);
3130
3130
for (__pyx_v_pos = 1; __pyx_v_pos < __pyx_4; ++__pyx_v_pos) {
3132
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":789 */
3132
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":789 */
3133
3133
__pyx_1 = ((PyObject *)__pyx_f_6bzrlib_16_known_graph_pyx__get_tuple_node(__pyx_v_node->parents,__pyx_v_pos)); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 789; goto __pyx_L1;}
3134
3134
Py_DECREF(((PyObject *)__pyx_v_parent_node));
3135
3135
__pyx_v_parent_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_1);
3138
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":790 */
3138
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":790 */
3139
3139
__pyx_2 = __pyx_v_parent_node->parents == Py_None;
3154
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":794 */
3154
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":794 */
3155
3155
__pyx_v_ms_node->is_first_child = 1;
3157
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":795 */
3157
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":795 */
3158
3158
__pyx_2 = ((PyObject *)__pyx_v_ms_node->left_parent) != Py_None;
3161
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":796 */
3161
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":796 */
3162
3162
__pyx_3 = ((PyObject *)((struct __pyx_vtabstruct_6bzrlib_16_known_graph_pyx__MergeSorter *)__pyx_v_self->__pyx_vtab)->_get_ms_node(__pyx_v_self,__pyx_v_ms_node->left_parent)); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 796; goto __pyx_L1;}
3163
3163
Py_DECREF(((PyObject *)__pyx_v_ms_parent_node));
3164
3164
__pyx_v_ms_parent_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSortNode *)__pyx_3);
3167
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":797 */
3167
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":797 */
3168
3168
__pyx_2 = __pyx_v_ms_parent_node->seen_by_child;
3170
3170
__pyx_v_ms_node->is_first_child = 0;
3175
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":799 */
3175
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":799 */
3176
3176
__pyx_v_ms_parent_node->seen_by_child = 1;
3181
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":800 */
3181
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":800 */
3182
3182
__pyx_v_self->_last_stack_item = (__pyx_v_self->_last_stack_item + 1);
3184
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":801 */
3184
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":801 */
3185
3185
__pyx_2 = (__pyx_v_self->_last_stack_item < PyList_GET_SIZE(__pyx_v_self->_depth_first_stack));
3188
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":802 */
3188
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":802 */
3189
3189
Py_INCREF(((PyObject *)__pyx_v_node));
3191
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":803 */
3191
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":803 */
3192
3192
__pyx_2 = PyList_SetItem(__pyx_v_self->_depth_first_stack,__pyx_v_self->_last_stack_item,((PyObject *)__pyx_v_node)); if (__pyx_2 == (-1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 803; goto __pyx_L1;}
3193
3193
goto __pyx_L11;
3238
3238
__pyx_v_branch_count = Py_None; Py_INCREF(Py_None);
3239
3239
__pyx_v_root_count = Py_None; Py_INCREF(Py_None);
3241
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":813 */
3241
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":813 */
3242
3242
__pyx_1 = ((PyObject *)__pyx_f_6bzrlib_16_known_graph_pyx__get_list_node(__pyx_v_self->_depth_first_stack,__pyx_v_self->_last_stack_item)); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 813; goto __pyx_L1;}
3243
3243
Py_DECREF(((PyObject *)__pyx_v_node));
3244
3244
__pyx_v_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_1);
3247
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":814 */
3247
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":814 */
3248
3248
Py_INCREF(__pyx_v_node->extra);
3249
3249
Py_DECREF(((PyObject *)__pyx_v_ms_node));
3250
3250
__pyx_v_ms_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSortNode *)__pyx_v_node->extra);
3252
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":815 */
3252
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":815 */
3253
3253
__pyx_v_self->_last_stack_item = (__pyx_v_self->_last_stack_item - 1);
3255
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":816 */
3255
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":816 */
3256
3256
__pyx_2 = ((PyObject *)__pyx_v_ms_node->left_parent) != Py_None;
3259
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":818 */
3259
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":818 */
3260
3260
Py_INCREF(__pyx_v_ms_node->left_parent->extra);
3261
3261
Py_DECREF(((PyObject *)__pyx_v_ms_parent_node));
3262
3262
__pyx_v_ms_parent_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSortNode *)__pyx_v_ms_node->left_parent->extra);
3264
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":819 */
3264
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":819 */
3265
3265
__pyx_2 = __pyx_v_ms_node->is_first_child;
3268
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":821 */
3268
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":821 */
3269
3269
__pyx_v_ms_node->_revno_first = __pyx_v_ms_parent_node->_revno_first;
3271
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":822 */
3271
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":822 */
3272
3272
__pyx_v_ms_node->_revno_second = __pyx_v_ms_parent_node->_revno_second;
3274
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":823 */
3274
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":823 */
3275
3275
__pyx_v_ms_node->_revno_last = (__pyx_v_ms_parent_node->_revno_last + 1);
3280
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":827 */
3280
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":827 */
3281
3281
__pyx_2 = (__pyx_v_ms_parent_node->_revno_first == (-1));
3283
3283
__pyx_1 = PyInt_FromLong(__pyx_v_ms_parent_node->_revno_last); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 829; goto __pyx_L1;}
3297
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":832 */
3297
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":832 */
3298
3298
__pyx_v_temp = PyDict_GetItem(__pyx_v_self->_revno_to_branch_count,__pyx_v_base_revno);
3300
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":834 */
3300
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":834 */
3301
3301
__pyx_2 = (__pyx_v_temp == NULL);
3303
3303
__pyx_1 = PyInt_FromLong(1); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 835; goto __pyx_L1;}
3319
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":838 */
3319
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":838 */
3320
3320
__pyx_2 = PyDict_SetItem(__pyx_v_self->_revno_to_branch_count,__pyx_v_base_revno,__pyx_v_branch_count); if (__pyx_2 == (-1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 838; goto __pyx_L1;}
3322
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":840 */
3322
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":840 */
3323
3323
__pyx_4 = PyInt_AsLong(__pyx_v_base_revno); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 840; goto __pyx_L1;}
3324
3324
__pyx_v_ms_node->_revno_first = __pyx_4;
3326
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":841 */
3326
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":841 */
3327
3327
__pyx_4 = PyInt_AsLong(__pyx_v_branch_count); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 841; goto __pyx_L1;}
3328
3328
__pyx_v_ms_node->_revno_second = __pyx_4;
3330
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":842 */
3330
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":842 */
3331
3331
__pyx_v_ms_node->_revno_last = 1;
3338
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":844 */
3338
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":844 */
3339
3339
__pyx_1 = PyInt_FromLong(0); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 844; goto __pyx_L1;}
3340
3340
__pyx_v_temp = PyDict_GetItem(__pyx_v_self->_revno_to_branch_count,__pyx_1);
3341
3341
Py_DECREF(__pyx_1); __pyx_1 = 0;
3343
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":845 */
3343
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":845 */
3344
3344
__pyx_2 = (__pyx_v_temp == NULL);
3347
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":847 */
3347
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":847 */
3348
3348
__pyx_3 = PyInt_FromLong(0); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 847; goto __pyx_L1;}
3349
3349
Py_DECREF(__pyx_v_root_count);
3350
3350
__pyx_v_root_count = __pyx_3;
3353
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":848 */
3353
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":848 */
3354
3354
__pyx_v_ms_node->_revno_first = (-1);
3356
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":849 */
3356
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":849 */
3357
3357
__pyx_v_ms_node->_revno_second = (-1);
3359
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":850 */
3359
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":850 */
3360
3360
__pyx_v_ms_node->_revno_last = 1;
3365
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":852 */
3365
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":852 */
3366
3366
__pyx_1 = PyInt_FromLong(1); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 852; goto __pyx_L1;}
3367
3367
__pyx_3 = PyNumber_Add(((PyObject *)__pyx_v_temp), __pyx_1); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 852; goto __pyx_L1;}
3368
3368
Py_DECREF(__pyx_1); __pyx_1 = 0;
3370
3370
__pyx_v_root_count = __pyx_3;
3373
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":853 */
3373
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":853 */
3374
3374
__pyx_v_ms_node->_revno_first = 0;
3376
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":854 */
3376
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":854 */
3377
3377
__pyx_4 = PyInt_AsLong(__pyx_v_root_count); if (PyErr_Occurred()) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 854; goto __pyx_L1;}
3378
3378
__pyx_v_ms_node->_revno_second = __pyx_4;
3380
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":855 */
3380
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":855 */
3381
3381
__pyx_v_ms_node->_revno_last = 1;
3385
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":856 */
3385
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":856 */
3386
3386
__pyx_1 = PyInt_FromLong(0); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 856; goto __pyx_L1;}
3387
3387
__pyx_2 = PyDict_SetItem(__pyx_v_self->_revno_to_branch_count,__pyx_1,__pyx_v_root_count); if (__pyx_2 == (-1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 856; goto __pyx_L1;}
3388
3388
Py_DECREF(__pyx_1); __pyx_1 = 0;
3392
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":857 */
3392
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":857 */
3393
3393
__pyx_v_ms_node->completed = 1;
3395
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":858 */
3395
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":858 */
3396
3396
__pyx_2 = (PyList_GET_SIZE(__pyx_v_self->_scheduled_nodes) == 0);
3398
3398
Py_INCREF(Py_True);
3405
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":862 */
3405
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":862 */
3406
3406
__pyx_3 = ((PyObject *)__pyx_f_6bzrlib_16_known_graph_pyx__get_list_node(__pyx_v_self->_scheduled_nodes,(PyList_GET_SIZE(__pyx_v_self->_scheduled_nodes) - 1))); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 862; goto __pyx_L1;}
3407
3407
Py_DECREF(((PyObject *)__pyx_v_prev_node));
3408
3408
__pyx_v_prev_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_3);
3411
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":864 */
3411
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":864 */
3412
3412
Py_INCREF(__pyx_v_prev_node->extra);
3413
3413
Py_DECREF(((PyObject *)__pyx_v_ms_prev_node));
3414
3414
__pyx_v_ms_prev_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSortNode *)__pyx_v_prev_node->extra);
3416
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":865 */
3416
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":865 */
3417
3417
__pyx_2 = (__pyx_v_ms_prev_node->merge_depth < __pyx_v_ms_node->merge_depth);
3419
3419
Py_INCREF(Py_True);
3483
3483
__pyx_v_ms_next_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSortNode *)Py_None); Py_INCREF(Py_None);
3484
3484
__pyx_v_ordered = Py_None; Py_INCREF(Py_None);
3486
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":881 */
3486
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":881 */
3487
3487
__pyx_1 = PyList_New(0); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 881; goto __pyx_L1;}
3488
3488
Py_DECREF(__pyx_v_ordered);
3489
3489
__pyx_v_ordered = __pyx_1;
3492
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":882 */
3492
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":882 */
3494
3494
__pyx_2 = (__pyx_v_self->_last_stack_item >= 0);
3495
3495
if (!__pyx_2) break;
3497
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":884 */
3497
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":884 */
3498
3498
__pyx_1 = ((PyObject *)__pyx_f_6bzrlib_16_known_graph_pyx__get_list_node(__pyx_v_self->_depth_first_stack,__pyx_v_self->_last_stack_item)); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 884; goto __pyx_L1;}
3499
3499
Py_DECREF(((PyObject *)__pyx_v_last_node));
3500
3500
__pyx_v_last_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_1);
3503
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":886 */
3503
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":886 */
3504
3504
__pyx_2 = (__pyx_v_last_node->gdfo == (-1));
3506
3506
__pyx_1 = __Pyx_GetName(__pyx_m, __pyx_n_errors); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 889; goto __pyx_L1;}
3522
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":890 */
3522
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":890 */
3523
3523
Py_INCREF(__pyx_v_last_node->extra);
3524
3524
Py_DECREF(((PyObject *)__pyx_v_ms_last_node));
3525
3525
__pyx_v_ms_last_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSortNode *)__pyx_v_last_node->extra);
3527
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":891 */
3527
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":891 */
3528
3528
__pyx_2 = (!((struct __pyx_vtabstruct_6bzrlib_16_known_graph_pyx__MergeSortNode *)__pyx_v_ms_last_node->__pyx_vtab)->has_pending_parents(__pyx_v_ms_last_node));
3531
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":893 */
3531
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":893 */
3532
3532
__pyx_3 = ((struct __pyx_vtabstruct_6bzrlib_16_known_graph_pyx__MergeSorter *)__pyx_v_self->__pyx_vtab)->_pop_node(__pyx_v_self); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 893; goto __pyx_L1;}
3533
3533
Py_DECREF(__pyx_3); __pyx_3 = 0;
3535
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":894 */
3535
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":894 */
3541
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":895 */
3541
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":895 */
3543
3543
__pyx_2 = ((struct __pyx_vtabstruct_6bzrlib_16_known_graph_pyx__MergeSortNode *)__pyx_v_ms_last_node->__pyx_vtab)->has_pending_parents(__pyx_v_ms_last_node);
3544
3544
if (!__pyx_2) break;
3546
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":896 */
3546
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":896 */
3547
3547
__pyx_2 = ((PyObject *)__pyx_v_ms_last_node->left_pending_parent) != Py_None;
3550
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":898 */
3550
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":898 */
3551
3551
Py_INCREF(((PyObject *)__pyx_v_ms_last_node->left_pending_parent));
3552
3552
Py_DECREF(((PyObject *)__pyx_v_next_node));
3553
3553
__pyx_v_next_node = __pyx_v_ms_last_node->left_pending_parent;
3555
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":899 */
3555
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":899 */
3556
3556
Py_INCREF(Py_None);
3557
3557
Py_DECREF(((PyObject *)__pyx_v_ms_last_node->left_pending_parent));
3558
3558
__pyx_v_ms_last_node->left_pending_parent = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)Py_None);
3572
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":909 */
3572
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":909 */
3573
3573
__pyx_3 = ((PyObject *)((struct __pyx_vtabstruct_6bzrlib_16_known_graph_pyx__MergeSorter *)__pyx_v_self->__pyx_vtab)->_get_ms_node(__pyx_v_self,__pyx_v_next_node)); if (!__pyx_3) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 909; goto __pyx_L1;}
3574
3574
Py_DECREF(((PyObject *)__pyx_v_ms_next_node));
3575
3575
__pyx_v_ms_next_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSortNode *)__pyx_3);
3578
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":910 */
3578
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":910 */
3579
3579
__pyx_2 = __pyx_v_ms_next_node->completed;
3597
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":921 */
3597
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":921 */
3598
3598
__pyx_1 = ((struct __pyx_vtabstruct_6bzrlib_16_known_graph_pyx__MergeSorter *)__pyx_v_self->__pyx_vtab)->_push_node(__pyx_v_self,__pyx_v_next_node,__pyx_v_next_merge_depth); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 921; goto __pyx_L1;}
3599
3599
Py_DECREF(__pyx_1); __pyx_1 = 0;
3601
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":924 */
3601
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":924 */
3637
3637
__pyx_v_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)Py_None); Py_INCREF(Py_None);
3638
3638
__pyx_v_ordered = Py_None; Py_INCREF(Py_None);
3640
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":936 */
3640
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":936 */
3641
3641
__pyx_1 = ((struct __pyx_vtabstruct_6bzrlib_16_known_graph_pyx__MergeSorter *)__pyx_v_self->__pyx_vtab)->_schedule_stack(__pyx_v_self); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 936; goto __pyx_L1;}
3642
3642
Py_DECREF(__pyx_1); __pyx_1 = 0;
3644
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":946 */
3644
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":946 */
3645
3645
__pyx_1 = PyList_New(0); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 946; goto __pyx_L1;}
3646
3646
Py_DECREF(__pyx_v_ordered);
3647
3647
__pyx_v_ordered = __pyx_1;
3650
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":948 */
3650
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":948 */
3651
3651
for (__pyx_v_pos = PyList_GET_SIZE(__pyx_v_self->_scheduled_nodes)-1; __pyx_v_pos >= 0; --__pyx_v_pos) {
3653
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":949 */
3653
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":949 */
3654
3654
__pyx_1 = ((PyObject *)__pyx_f_6bzrlib_16_known_graph_pyx__get_list_node(__pyx_v_self->_scheduled_nodes,__pyx_v_pos)); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 949; goto __pyx_L1;}
3655
3655
Py_DECREF(((PyObject *)__pyx_v_node));
3656
3656
__pyx_v_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__KnownGraphNode *)__pyx_1);
3659
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":950 */
3659
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":950 */
3660
3660
Py_INCREF(__pyx_v_node->extra);
3661
3661
Py_DECREF(((PyObject *)__pyx_v_ms_node));
3662
3662
__pyx_v_ms_node = ((struct __pyx_obj_6bzrlib_16_known_graph_pyx__MergeSortNode *)__pyx_v_node->extra);
3664
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":951 */
3664
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":951 */
3665
3665
__pyx_2 = PyList_Append(__pyx_v_ordered,((PyObject *)__pyx_v_ms_node)); if (__pyx_2 == (-1)) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 951; goto __pyx_L1;}
3667
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":952 */
3667
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":952 */
3668
3668
Py_INCREF(Py_None);
3669
3669
Py_DECREF(__pyx_v_node->extra);
3670
3670
__pyx_v_node->extra = Py_None;
3673
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":954 */
3673
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":954 */
3674
3674
__pyx_1 = PyList_New(0); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 954; goto __pyx_L1;}
3675
3675
Py_DECREF(__pyx_v_self->_scheduled_nodes);
3676
3676
__pyx_v_self->_scheduled_nodes = __pyx_1;
3679
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":955 */
3679
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":955 */
3680
3680
Py_INCREF(__pyx_v_ordered);
3681
3681
__pyx_r = __pyx_v_ordered;
4532
4532
if (PyObject_SetAttrString(__pyx_m, "_MergeSortNode", (PyObject *)&__pyx_type_6bzrlib_16_known_graph_pyx__MergeSortNode) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 666; goto __pyx_L1;}
4533
4533
__pyx_ptype_6bzrlib_16_known_graph_pyx__MergeSortNode = &__pyx_type_6bzrlib_16_known_graph_pyx__MergeSortNode;
4535
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":54 */
4535
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":54 */
4536
4536
__pyx_1 = PyList_New(1); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 54; goto __pyx_L1;}
4537
4537
Py_INCREF(__pyx_n_deque);
4538
4538
PyList_SET_ITEM(__pyx_1, 0, __pyx_n_deque);
4543
4543
Py_DECREF(__pyx_1); __pyx_1 = 0;
4544
4544
Py_DECREF(__pyx_2); __pyx_2 = 0;
4546
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":55 */
4546
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":55 */
4547
4547
__pyx_2 = __Pyx_Import(__pyx_n_gc, 0); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 55; goto __pyx_L1;}
4548
4548
if (PyObject_SetAttr(__pyx_m, __pyx_n_gc, __pyx_2) < 0) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 55; goto __pyx_L1;}
4549
4549
Py_DECREF(__pyx_2); __pyx_2 = 0;
4551
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":57 */
4551
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":57 */
4552
4552
__pyx_1 = PyList_New(2); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 57; goto __pyx_L1;}
4553
4553
Py_INCREF(__pyx_n_errors);
4554
4554
PyList_SET_ITEM(__pyx_1, 0, __pyx_n_errors);
4564
4564
Py_DECREF(__pyx_1); __pyx_1 = 0;
4565
4565
Py_DECREF(__pyx_2); __pyx_2 = 0;
4567
/* "/net/plume.local/Users/vila/src/bzr/integration/2.2.3-dev/bzrlib/_known_graph_pyx.pyx":60 */
4567
/* "/home/vila/src/bzr/integration/2.2.2-dev/bzrlib/_known_graph_pyx.pyx":60 */
4568
4568
__pyx_2 = __Pyx_GetName(__pyx_m, __pyx_n_revision); if (!__pyx_2) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 60; goto __pyx_L1;}
4569
4569
__pyx_1 = PyObject_GetAttr(__pyx_2, __pyx_n_NULL_REVISION); if (!__pyx_1) {__pyx_filename = __pyx_f[0]; __pyx_lineno = 60; goto __pyx_L1;}
4570
4570
Py_DECREF(__pyx_2); __pyx_2 = 0;