63 > evolve = $TESTDIR/../hgext3rd/evolve/ |
63 > evolve = $TESTDIR/../hgext3rd/evolve/ |
64 > # enabling rebase is also needed for now |
64 > # enabling rebase is also needed for now |
65 > rebase = |
65 > rebase = |
66 > EOF |
66 > EOF |
67 |
67 |
|
68 #if docgraph-ext |
|
69 $ . "$TESTDIR/testlib/docgraph_setup.sh" #rest-ignore |
|
70 #endif |
|
71 |
68 ----------------------- |
72 ----------------------- |
69 Single Developer Usage |
73 Single Developer Usage |
70 ----------------------- |
74 ----------------------- |
71 |
75 |
72 This tutorial shows how to use evolution to rewrite history locally. |
76 This tutorial shows how to use evolution to rewrite history locally. |
123 | |
127 | |
124 o 4d5dc8187023 (draft): adding condiment |
128 o 4d5dc8187023 (draft): adding condiment |
125 | |
129 | |
126 o 7e82d3f3c2cb (public): Monthy Python Shopping list |
130 o 7e82d3f3c2cb (public): Monthy Python Shopping list |
127 |
131 |
|
132 #if docgraph-ext |
|
133 $ hg docgraph -r "all()" --sphinx-directive --rankdir LR #rest-ignore |
|
134 .. graphviz:: |
|
135 |
|
136 strict digraph { |
|
137 graph [rankdir=LR, |
|
138 splines=polyline |
|
139 ]; |
|
140 node [label="\N"]; |
|
141 0 [fillcolor="#9999FF", |
|
142 fixedsize=true, |
|
143 group=default, |
|
144 height=0.5, |
|
145 label=0, |
|
146 pin=true, |
|
147 pos="1,0!", |
|
148 shape=circle, |
|
149 style=filled, |
|
150 width=0.5]; |
|
151 1 [fillcolor="#9999FF", |
|
152 fixedsize=true, |
|
153 group=default, |
|
154 height=0.5, |
|
155 label=1, |
|
156 pin=true, |
|
157 pos="1,1!", |
|
158 shape=pentagon, |
|
159 style=filled, |
|
160 width=0.5]; |
|
161 0 -> 1 [arrowhead=none, |
|
162 penwidth=2.0]; |
|
163 2 [fillcolor="#9999FF", |
|
164 fixedsize=true, |
|
165 group=default, |
|
166 height=0.5, |
|
167 label=2, |
|
168 pin=true, |
|
169 pos="1,2!", |
|
170 shape=pentagon, |
|
171 style=filled, |
|
172 width=0.5]; |
|
173 1 -> 2 [arrowhead=none, |
|
174 penwidth=2.0]; |
|
175 } |
|
176 #endif |
128 |
177 |
129 But a typo was made in Babanas! |
178 But a typo was made in Babanas! |
130 |
179 |
131 $ hg export tip |
180 $ hg export tip |
132 # HG changeset patch |
181 # HG changeset patch |
156 | |
205 | |
157 o 4d5dc8187023 (draft): adding condiment |
206 o 4d5dc8187023 (draft): adding condiment |
158 | |
207 | |
159 o 7e82d3f3c2cb (public): Monthy Python Shopping list |
208 o 7e82d3f3c2cb (public): Monthy Python Shopping list |
160 |
209 |
|
210 |
|
211 #if docgraph-ext |
|
212 $ hg docgraph -r "all()" --sphinx-directive --rankdir LR #rest-ignore |
|
213 .. graphviz:: |
|
214 |
|
215 strict digraph { |
|
216 graph [rankdir=LR, |
|
217 splines=polyline |
|
218 ]; |
|
219 node [label="\N"]; |
|
220 0 [fillcolor="#9999FF", |
|
221 fixedsize=true, |
|
222 group=default, |
|
223 height=0.5, |
|
224 label=0, |
|
225 pin=true, |
|
226 pos="1,0!", |
|
227 shape=circle, |
|
228 style=filled, |
|
229 width=0.5]; |
|
230 1 [fillcolor="#9999FF", |
|
231 fixedsize=true, |
|
232 group=default, |
|
233 height=0.5, |
|
234 label=1, |
|
235 pin=true, |
|
236 pos="1,1!", |
|
237 shape=pentagon, |
|
238 style=filled, |
|
239 width=0.5]; |
|
240 0 -> 1 [arrowhead=none, |
|
241 penwidth=2.0]; |
|
242 2 [fillcolor="#9999FF", |
|
243 fixedsize=true, |
|
244 group=default, |
|
245 height=0.5, |
|
246 label=2, |
|
247 pin=true, |
|
248 pos="1,2!", |
|
249 shape=pentagon, |
|
250 style=filled, |
|
251 width=0.5]; |
|
252 1 -> 2 [arrowhead=none, |
|
253 penwidth=2.0]; |
|
254 } |
|
255 #endif |
161 |
256 |
162 Hopefully. I can use `hg commit --amend` to rewrite my faulty changeset! |
257 Hopefully. I can use `hg commit --amend` to rewrite my faulty changeset! |
163 |
258 |
164 $ sed -i'' -e s/Bananos/Banana/ shopping |
259 $ sed -i'' -e s/Bananos/Banana/ shopping |
165 $ hg diff |
260 $ hg diff |
183 | |
278 | |
184 o 4d5dc8187023 (draft): adding condiment |
279 o 4d5dc8187023 (draft): adding condiment |
185 | |
280 | |
186 o 7e82d3f3c2cb (public): Monthy Python Shopping list |
281 o 7e82d3f3c2cb (public): Monthy Python Shopping list |
187 |
282 |
|
283 #if docgraph-ext |
|
284 $ hg docgraph -r "all()" --sphinx-directive --rankdir LR #rest-ignore |
|
285 .. graphviz:: |
|
286 |
|
287 strict digraph { |
|
288 graph [rankdir=LR, |
|
289 splines=polyline |
|
290 ]; |
|
291 node [label="\N"]; |
|
292 0 [fillcolor="#9999FF", |
|
293 fixedsize=true, |
|
294 group=default, |
|
295 height=0.5, |
|
296 label=0, |
|
297 pin=true, |
|
298 pos="1,0!", |
|
299 shape=circle, |
|
300 style=filled, |
|
301 width=0.5]; |
|
302 1 [fillcolor="#9999FF", |
|
303 fixedsize=true, |
|
304 group=default, |
|
305 height=0.5, |
|
306 label=1, |
|
307 pin=true, |
|
308 pos="1,1!", |
|
309 shape=pentagon, |
|
310 style=filled, |
|
311 width=0.5]; |
|
312 0 -> 1 [arrowhead=none, |
|
313 penwidth=2.0]; |
|
314 4 [fillcolor="#9999FF", |
|
315 fixedsize=true, |
|
316 group=default, |
|
317 height=0.5, |
|
318 label=4, |
|
319 pin=true, |
|
320 pos="1,4!", |
|
321 shape=pentagon, |
|
322 style=filled, |
|
323 width=0.5]; |
|
324 1 -> 4 [arrowhead=none, |
|
325 penwidth=2.0]; |
|
326 } |
|
327 #endif |
|
328 |
188 $ hg export tip |
329 $ hg export tip |
189 # HG changeset patch |
330 # HG changeset patch |
190 # User test |
331 # User test |
191 # Date 0 0 |
332 # Date 0 0 |
192 # Thu Jan 01 00:00:00 1970 +0000 |
333 # Thu Jan 01 00:00:00 1970 +0000 |
237 | o 4d5dc8187023 (draft): adding condiment |
378 | o 4d5dc8187023 (draft): adding condiment |
238 |/ |
379 |/ |
239 o 7e82d3f3c2cb (public): Monthy Python Shopping list |
380 o 7e82d3f3c2cb (public): Monthy Python Shopping list |
240 |
381 |
241 |
382 |
|
383 #if docgraph-ext |
|
384 $ hg docgraph -r "all()" --sphinx-directive --rankdir LR #rest-ignore |
|
385 .. graphviz:: |
|
386 |
|
387 strict digraph { |
|
388 graph [rankdir=LR, |
|
389 splines=polyline |
|
390 ]; |
|
391 node [label="\N"]; |
|
392 0 [fillcolor="#9999FF", |
|
393 fixedsize=true, |
|
394 group=default, |
|
395 height=0.5, |
|
396 label=0, |
|
397 pin=true, |
|
398 pos="1,0!", |
|
399 shape=circle, |
|
400 style=filled, |
|
401 width=0.5]; |
|
402 1 [fillcolor="#9999FF", |
|
403 fixedsize=true, |
|
404 group=default, |
|
405 height=0.5, |
|
406 label=1, |
|
407 pin=true, |
|
408 pos="1,1!", |
|
409 shape=pentagon, |
|
410 style=filled, |
|
411 width=0.5]; |
|
412 0 -> 1 [arrowhead=none, |
|
413 penwidth=2.0]; |
|
414 5 [fillcolor="#9999FF", |
|
415 fixedsize=true, |
|
416 group=default, |
|
417 height=0.5, |
|
418 label=5, |
|
419 pin=true, |
|
420 pos="1,5!", |
|
421 shape=circle, |
|
422 style=filled, |
|
423 width=0.5]; |
|
424 0 -> 5 [arrowhead=none, |
|
425 penwidth=2.0]; |
|
426 4 [fillcolor="#9999FF", |
|
427 fixedsize=true, |
|
428 group=default, |
|
429 height=0.5, |
|
430 label=4, |
|
431 pin=true, |
|
432 pos="1,4!", |
|
433 shape=pentagon, |
|
434 style=filled, |
|
435 width=0.5]; |
|
436 1 -> 4 [arrowhead=none, |
|
437 penwidth=2.0]; |
|
438 } |
|
439 #endif |
|
440 |
242 Instead of merging my head with the new one. I'm going to rebase my work |
441 Instead of merging my head with the new one. I'm going to rebase my work |
243 |
442 |
244 $ hg diff |
443 $ hg diff |
245 $ hg rebase --dest 9ca060c80d74 --source 4d5dc8187023 |
444 $ hg rebase --dest 9ca060c80d74 --source 4d5dc8187023 |
246 rebasing 1:4d5dc8187023 "adding condiment" |
445 rebasing 1:4d5dc8187023 "adding condiment" |
258 | |
457 | |
259 o 9ca060c80d74 (public): SPAM |
458 o 9ca060c80d74 (public): SPAM |
260 | |
459 | |
261 o 7e82d3f3c2cb (public): Monthy Python Shopping list |
460 o 7e82d3f3c2cb (public): Monthy Python Shopping list |
262 |
461 |
|
462 #if docgraph-ext |
|
463 $ hg docgraph -r "all()" --sphinx-directive --rankdir LR #rest-ignore |
|
464 .. graphviz:: |
|
465 |
|
466 strict digraph { |
|
467 graph [rankdir=LR, |
|
468 splines=polyline |
|
469 ]; |
|
470 node [label="\N"]; |
|
471 0 [fillcolor="#9999FF", |
|
472 fixedsize=true, |
|
473 group=default, |
|
474 height=0.5, |
|
475 label=0, |
|
476 pin=true, |
|
477 pos="1,0!", |
|
478 shape=circle, |
|
479 style=filled, |
|
480 width=0.5]; |
|
481 5 [fillcolor="#9999FF", |
|
482 fixedsize=true, |
|
483 group=default, |
|
484 height=0.5, |
|
485 label=5, |
|
486 pin=true, |
|
487 pos="1,5!", |
|
488 shape=circle, |
|
489 style=filled, |
|
490 width=0.5]; |
|
491 0 -> 5 [arrowhead=none, |
|
492 penwidth=2.0]; |
|
493 6 [fillcolor="#9999FF", |
|
494 fixedsize=true, |
|
495 group=default, |
|
496 height=0.5, |
|
497 label=6, |
|
498 pin=true, |
|
499 pos="1,6!", |
|
500 shape=pentagon, |
|
501 style=filled, |
|
502 width=0.5]; |
|
503 5 -> 6 [arrowhead=none, |
|
504 penwidth=2.0]; |
|
505 7 [fillcolor="#9999FF", |
|
506 fixedsize=true, |
|
507 group=default, |
|
508 height=0.5, |
|
509 label=7, |
|
510 pin=true, |
|
511 pos="1,7!", |
|
512 shape=pentagon, |
|
513 style=filled, |
|
514 width=0.5]; |
|
515 6 -> 7 [arrowhead=none, |
|
516 penwidth=2.0]; |
|
517 } |
|
518 #endif |
263 |
519 |
264 Removing changesets |
520 Removing changesets |
265 ------------------------ |
521 ------------------------ |
266 |
522 |
267 I add new items to my list. |
523 I add new items to my list. |
303 o 9ca060c80d74 (public): SPAM |
559 o 9ca060c80d74 (public): SPAM |
304 | |
560 | |
305 o 7e82d3f3c2cb (public): Monthy Python Shopping list |
561 o 7e82d3f3c2cb (public): Monthy Python Shopping list |
306 |
562 |
307 |
563 |
|
564 #if docgraph-ext |
|
565 $ hg docgraph -r "all()" --sphinx-directive --rankdir LR #rest-ignore |
|
566 .. graphviz:: |
|
567 |
|
568 strict digraph { |
|
569 graph [rankdir=LR, |
|
570 splines=polyline |
|
571 ]; |
|
572 node [label="\N"]; |
|
573 0 [fillcolor="#9999FF", |
|
574 fixedsize=true, |
|
575 group=default, |
|
576 height=0.5, |
|
577 label=0, |
|
578 pin=true, |
|
579 pos="1,0!", |
|
580 shape=circle, |
|
581 style=filled, |
|
582 width=0.5]; |
|
583 5 [fillcolor="#9999FF", |
|
584 fixedsize=true, |
|
585 group=default, |
|
586 height=0.5, |
|
587 label=5, |
|
588 pin=true, |
|
589 pos="1,5!", |
|
590 shape=circle, |
|
591 style=filled, |
|
592 width=0.5]; |
|
593 0 -> 5 [arrowhead=none, |
|
594 penwidth=2.0]; |
|
595 6 [fillcolor="#9999FF", |
|
596 fixedsize=true, |
|
597 group=default, |
|
598 height=0.5, |
|
599 label=6, |
|
600 pin=true, |
|
601 pos="1,6!", |
|
602 shape=pentagon, |
|
603 style=filled, |
|
604 width=0.5]; |
|
605 5 -> 6 [arrowhead=none, |
|
606 penwidth=2.0]; |
|
607 7 [fillcolor="#9999FF", |
|
608 fixedsize=true, |
|
609 group=default, |
|
610 height=0.5, |
|
611 label=7, |
|
612 pin=true, |
|
613 pos="1,7!", |
|
614 shape=pentagon, |
|
615 style=filled, |
|
616 width=0.5]; |
|
617 6 -> 7 [arrowhead=none, |
|
618 penwidth=2.0]; |
|
619 } |
|
620 #endif |
|
621 |
308 Reordering changesets |
622 Reordering changesets |
309 ------------------------ |
623 ------------------------ |
310 |
624 |
311 |
625 |
312 We create two changesets. |
626 We create two changesets. |
364 | |
678 | |
365 o 9ca060c80d74 (public): SPAM |
679 o 9ca060c80d74 (public): SPAM |
366 | |
680 | |
367 o 7e82d3f3c2cb (public): Monthy Python Shopping list |
681 o 7e82d3f3c2cb (public): Monthy Python Shopping list |
368 |
682 |
|
683 |
|
684 #if docgraph-ext |
|
685 $ hg docgraph -r "all()" --sphinx-directive --rankdir LR #rest-ignore |
|
686 .. graphviz:: |
|
687 |
|
688 strict digraph { |
|
689 graph [rankdir=LR, |
|
690 splines=polyline |
|
691 ]; |
|
692 node [label="\N"]; |
|
693 0 [fillcolor="#9999FF", |
|
694 fixedsize=true, |
|
695 group=default, |
|
696 height=0.5, |
|
697 label=0, |
|
698 pin=true, |
|
699 pos="1,0!", |
|
700 shape=circle, |
|
701 style=filled, |
|
702 width=0.5]; |
|
703 5 [fillcolor="#9999FF", |
|
704 fixedsize=true, |
|
705 group=default, |
|
706 height=0.5, |
|
707 label=5, |
|
708 pin=true, |
|
709 pos="1,5!", |
|
710 shape=circle, |
|
711 style=filled, |
|
712 width=0.5]; |
|
713 0 -> 5 [arrowhead=none, |
|
714 penwidth=2.0]; |
|
715 6 [fillcolor="#9999FF", |
|
716 fixedsize=true, |
|
717 group=default, |
|
718 height=0.5, |
|
719 label=6, |
|
720 pin=true, |
|
721 pos="1,6!", |
|
722 shape=pentagon, |
|
723 style=filled, |
|
724 width=0.5]; |
|
725 5 -> 6 [arrowhead=none, |
|
726 penwidth=2.0]; |
|
727 7 [fillcolor="#9999FF", |
|
728 fixedsize=true, |
|
729 group=default, |
|
730 height=0.5, |
|
731 label=7, |
|
732 pin=true, |
|
733 pos="1,7!", |
|
734 shape=pentagon, |
|
735 style=filled, |
|
736 width=0.5]; |
|
737 6 -> 7 [arrowhead=none, |
|
738 penwidth=2.0]; |
|
739 9 [fillcolor="#9999FF", |
|
740 fixedsize=true, |
|
741 group=default, |
|
742 height=0.5, |
|
743 label=9, |
|
744 pin=true, |
|
745 pos="1,9!", |
|
746 shape=pentagon, |
|
747 style=filled, |
|
748 width=0.5]; |
|
749 7 -> 9 [arrowhead=none, |
|
750 penwidth=2.0]; |
|
751 11 [fillcolor="#9999FF", |
|
752 fixedsize=true, |
|
753 group=default, |
|
754 height=0.5, |
|
755 label=11, |
|
756 pin=true, |
|
757 pos="1,11!", |
|
758 shape=pentagon, |
|
759 style=filled, |
|
760 width=0.5]; |
|
761 7 -> 11 [arrowhead=none, |
|
762 penwidth=2.0]; |
|
763 } |
|
764 #endif |
369 |
765 |
370 We have a new SPAM SPAM version without the bathroom stuff |
766 We have a new SPAM SPAM version without the bathroom stuff |
371 |
767 |
372 $ grep Spam shopping # enough spam |
768 $ grep Spam shopping # enough spam |
373 Spam Spam Spam Spam Spam Spam Spam Spam Spam |
769 Spam Spam Spam Spam Spam Spam Spam Spam Spam |
427 o 9ca060c80d74 (public): SPAM |
823 o 9ca060c80d74 (public): SPAM |
428 | |
824 | |
429 o 7e82d3f3c2cb (public): Monthy Python Shopping list |
825 o 7e82d3f3c2cb (public): Monthy Python Shopping list |
430 |
826 |
431 |
827 |
432 |
828 #if docgraph-ext |
|
829 $ hg docgraph -r "all()" --sphinx-directive --rankdir LR #rest-ignore |
|
830 .. graphviz:: |
|
831 |
|
832 strict digraph { |
|
833 graph [rankdir=LR, |
|
834 splines=polyline |
|
835 ]; |
|
836 node [label="\N"]; |
|
837 0 [fillcolor="#9999FF", |
|
838 fixedsize=true, |
|
839 group=default, |
|
840 height=0.5, |
|
841 label=0, |
|
842 pin=true, |
|
843 pos="1,0!", |
|
844 shape=circle, |
|
845 style=filled, |
|
846 width=0.5]; |
|
847 5 [fillcolor="#9999FF", |
|
848 fixedsize=true, |
|
849 group=default, |
|
850 height=0.5, |
|
851 label=5, |
|
852 pin=true, |
|
853 pos="1,5!", |
|
854 shape=circle, |
|
855 style=filled, |
|
856 width=0.5]; |
|
857 0 -> 5 [arrowhead=none, |
|
858 penwidth=2.0]; |
|
859 6 [fillcolor="#9999FF", |
|
860 fixedsize=true, |
|
861 group=default, |
|
862 height=0.5, |
|
863 label=6, |
|
864 pin=true, |
|
865 pos="1,6!", |
|
866 shape=circle, |
|
867 style=filled, |
|
868 width=0.5]; |
|
869 5 -> 6 [arrowhead=none, |
|
870 penwidth=2.0]; |
|
871 7 [fillcolor="#9999FF", |
|
872 fixedsize=true, |
|
873 group=default, |
|
874 height=0.5, |
|
875 label=7, |
|
876 pin=true, |
|
877 pos="1,7!", |
|
878 shape=circle, |
|
879 style=filled, |
|
880 width=0.5]; |
|
881 6 -> 7 [arrowhead=none, |
|
882 penwidth=2.0]; |
|
883 11 [fillcolor="#9999FF", |
|
884 fixedsize=true, |
|
885 group=default, |
|
886 height=0.5, |
|
887 label=11, |
|
888 pin=true, |
|
889 pos="1,11!", |
|
890 shape=circle, |
|
891 style=filled, |
|
892 width=0.5]; |
|
893 7 -> 11 [arrowhead=none, |
|
894 penwidth=2.0]; |
|
895 12 [fillcolor="#9999FF", |
|
896 fixedsize=true, |
|
897 group=default, |
|
898 height=0.5, |
|
899 label=12, |
|
900 pin=true, |
|
901 pos="1,12!", |
|
902 shape=pentagon, |
|
903 style=filled, |
|
904 width=0.5]; |
|
905 11 -> 12 [arrowhead=none, |
|
906 penwidth=2.0]; |
|
907 } |
|
908 #endif |
433 |
909 |
434 Splitting change |
910 Splitting change |
435 ------------------ |
911 ------------------ |
436 |
912 |
437 This part is not written yet, but you can use either the `histedit` extension |
913 This part is not written yet, but you can use either the `histedit` extension |
638 o 9ca060c80d74 (public): SPAM |
1114 o 9ca060c80d74 (public): SPAM |
639 | |
1115 | |
640 o 7e82d3f3c2cb (public): Monthy Python Shopping list |
1116 o 7e82d3f3c2cb (public): Monthy Python Shopping list |
641 |
1117 |
642 |
1118 |
|
1119 #if docgraph-ext |
|
1120 $ hg docgraph -r "all()" --sphinx-directive --rankdir LR #rest-ignore |
|
1121 .. graphviz:: |
|
1122 |
|
1123 strict digraph { |
|
1124 graph [rankdir=LR, |
|
1125 splines=polyline |
|
1126 ]; |
|
1127 node [label="\N"]; |
|
1128 0 [fillcolor="#9999FF", |
|
1129 fixedsize=true, |
|
1130 group=default, |
|
1131 height=0.5, |
|
1132 label=0, |
|
1133 pin=true, |
|
1134 pos="1,0!", |
|
1135 shape=circle, |
|
1136 style=filled, |
|
1137 width=0.5]; |
|
1138 5 [fillcolor="#9999FF", |
|
1139 fixedsize=true, |
|
1140 group=default, |
|
1141 height=0.5, |
|
1142 label=5, |
|
1143 pin=true, |
|
1144 pos="1,5!", |
|
1145 shape=circle, |
|
1146 style=filled, |
|
1147 width=0.5]; |
|
1148 0 -> 5 [arrowhead=none, |
|
1149 penwidth=2.0]; |
|
1150 6 [fillcolor="#9999FF", |
|
1151 fixedsize=true, |
|
1152 group=default, |
|
1153 height=0.5, |
|
1154 label=6, |
|
1155 pin=true, |
|
1156 pos="1,6!", |
|
1157 shape=circle, |
|
1158 style=filled, |
|
1159 width=0.5]; |
|
1160 5 -> 6 [arrowhead=none, |
|
1161 penwidth=2.0]; |
|
1162 7 [fillcolor="#9999FF", |
|
1163 fixedsize=true, |
|
1164 group=default, |
|
1165 height=0.5, |
|
1166 label=7, |
|
1167 pin=true, |
|
1168 pos="1,7!", |
|
1169 shape=circle, |
|
1170 style=filled, |
|
1171 width=0.5]; |
|
1172 6 -> 7 [arrowhead=none, |
|
1173 penwidth=2.0]; |
|
1174 11 [fillcolor="#9999FF", |
|
1175 fixedsize=true, |
|
1176 group=default, |
|
1177 height=0.5, |
|
1178 label=11, |
|
1179 pin=true, |
|
1180 pos="1,11!", |
|
1181 shape=circle, |
|
1182 style=filled, |
|
1183 width=0.5]; |
|
1184 7 -> 11 [arrowhead=none, |
|
1185 penwidth=2.0]; |
|
1186 14 [fillcolor="#9999FF", |
|
1187 fixedsize=true, |
|
1188 group=default, |
|
1189 height=0.5, |
|
1190 label=14, |
|
1191 pin=true, |
|
1192 pos="1,14!", |
|
1193 shape=pentagon, |
|
1194 style=filled, |
|
1195 width=0.5]; |
|
1196 11 -> 14 [arrowhead=none, |
|
1197 penwidth=2.0]; |
|
1198 } |
|
1199 #endif |
|
1200 |
643 When we pull from remote again we get an unstable state! |
1201 When we pull from remote again we get an unstable state! |
644 |
1202 |
645 $ hg pull remote |
1203 $ hg pull remote |
646 pulling from $TESTTMP/remote (glob) |
1204 pulling from $TESTTMP/remote (glob) |
647 searching for changes |
1205 searching for changes |
672 o 9ca060c80d74 (public): SPAM |
1230 o 9ca060c80d74 (public): SPAM |
673 | |
1231 | |
674 o 7e82d3f3c2cb (public): Monthy Python Shopping list |
1232 o 7e82d3f3c2cb (public): Monthy Python Shopping list |
675 |
1233 |
676 |
1234 |
|
1235 #if docgraph-ext |
|
1236 $ hg docgraph -r "all()" --sphinx-directive --rankdir LR #rest-ignore |
|
1237 .. graphviz:: |
|
1238 |
|
1239 strict digraph { |
|
1240 graph [rankdir=LR, |
|
1241 splines=polyline |
|
1242 ]; |
|
1243 node [label="\N"]; |
|
1244 0 [fillcolor="#9999FF", |
|
1245 fixedsize=true, |
|
1246 group=default, |
|
1247 height=0.5, |
|
1248 label=0, |
|
1249 pin=true, |
|
1250 pos="1,0!", |
|
1251 shape=circle, |
|
1252 style=filled, |
|
1253 width=0.5]; |
|
1254 5 [fillcolor="#9999FF", |
|
1255 fixedsize=true, |
|
1256 group=default, |
|
1257 height=0.5, |
|
1258 label=5, |
|
1259 pin=true, |
|
1260 pos="1,5!", |
|
1261 shape=circle, |
|
1262 style=filled, |
|
1263 width=0.5]; |
|
1264 0 -> 5 [arrowhead=none, |
|
1265 penwidth=2.0]; |
|
1266 6 [fillcolor="#9999FF", |
|
1267 fixedsize=true, |
|
1268 group=default, |
|
1269 height=0.5, |
|
1270 label=6, |
|
1271 pin=true, |
|
1272 pos="1,6!", |
|
1273 shape=circle, |
|
1274 style=filled, |
|
1275 width=0.5]; |
|
1276 5 -> 6 [arrowhead=none, |
|
1277 penwidth=2.0]; |
|
1278 7 [fillcolor="#9999FF", |
|
1279 fixedsize=true, |
|
1280 group=default, |
|
1281 height=0.5, |
|
1282 label=7, |
|
1283 pin=true, |
|
1284 pos="1,7!", |
|
1285 shape=circle, |
|
1286 style=filled, |
|
1287 width=0.5]; |
|
1288 6 -> 7 [arrowhead=none, |
|
1289 penwidth=2.0]; |
|
1290 11 [fillcolor="#9999FF", |
|
1291 fixedsize=true, |
|
1292 group=default, |
|
1293 height=0.5, |
|
1294 label=11, |
|
1295 pin=true, |
|
1296 pos="1,11!", |
|
1297 shape=circle, |
|
1298 style=filled, |
|
1299 width=0.5]; |
|
1300 7 -> 11 [arrowhead=none, |
|
1301 penwidth=2.0]; |
|
1302 12 [fillcolor="#DFDFFF", |
|
1303 fixedsize=true, |
|
1304 group=default_alt, |
|
1305 height=0.5, |
|
1306 label=12, |
|
1307 pin=true, |
|
1308 pos="2,12!", |
|
1309 shape=pentagon, |
|
1310 style="dotted, filled", |
|
1311 width=0.5]; |
|
1312 11 -> 12 [arrowhead=none, |
|
1313 penwidth=2.0]; |
|
1314 14 [fillcolor="#9999FF", |
|
1315 fixedsize=true, |
|
1316 group=default, |
|
1317 height=0.5, |
|
1318 label=14, |
|
1319 pin=true, |
|
1320 pos="1,14!", |
|
1321 shape=pentagon, |
|
1322 style=filled, |
|
1323 width=0.5]; |
|
1324 11 -> 14 [arrowhead=none, |
|
1325 penwidth=2.0]; |
|
1326 12 -> 14 [arrowhead=none, |
|
1327 minlen=0, |
|
1328 penwidth=2.0, |
|
1329 style=dashed]; |
|
1330 15 [fillcolor="#FF4F4F", |
|
1331 fixedsize=true, |
|
1332 group=default_alt, |
|
1333 height=0.5, |
|
1334 label=15, |
|
1335 pin=true, |
|
1336 pos="2,15!", |
|
1337 shape=pentagon, |
|
1338 style=filled, |
|
1339 width=0.5]; |
|
1340 12 -> 15 [arrowhead=none, |
|
1341 penwidth=2.0]; |
|
1342 } |
|
1343 #endif |
|
1344 |
677 The older version 75954b8cd933 never ceased to exist in the local repo. It was |
1345 The older version 75954b8cd933 never ceased to exist in the local repo. It was |
678 just hidden and excluded from pull and push. |
1346 just hidden and excluded from pull and push. |
679 |
1347 |
680 .. note:: In hgview there is a nice dotted relation highlighting a44c85f957d3 as a new version of 75954b8cd933. this is not yet ported to ``hg log -G``. |
1348 .. note:: In hgview there is a nice dotted relation highlighting a44c85f957d3 as a new version of 75954b8cd933. this is not yet ported to ``hg log -G``. |
681 |
1349 |
723 | |
1391 | |
724 o 9ca060c80d74 (public): SPAM |
1392 o 9ca060c80d74 (public): SPAM |
725 | |
1393 | |
726 o 7e82d3f3c2cb (public): Monthy Python Shopping list |
1394 o 7e82d3f3c2cb (public): Monthy Python Shopping list |
727 |
1395 |
|
1396 |
|
1397 #if docgraph-ext |
|
1398 $ hg docgraph -r "all()" --sphinx-directive --rankdir LR #rest-ignore |
|
1399 .. graphviz:: |
|
1400 |
|
1401 strict digraph { |
|
1402 graph [rankdir=LR, |
|
1403 splines=polyline |
|
1404 ]; |
|
1405 node [label="\N"]; |
|
1406 0 [fillcolor="#9999FF", |
|
1407 fixedsize=true, |
|
1408 group=default, |
|
1409 height=0.5, |
|
1410 label=0, |
|
1411 pin=true, |
|
1412 pos="1,0!", |
|
1413 shape=circle, |
|
1414 style=filled, |
|
1415 width=0.5]; |
|
1416 5 [fillcolor="#9999FF", |
|
1417 fixedsize=true, |
|
1418 group=default, |
|
1419 height=0.5, |
|
1420 label=5, |
|
1421 pin=true, |
|
1422 pos="1,5!", |
|
1423 shape=circle, |
|
1424 style=filled, |
|
1425 width=0.5]; |
|
1426 0 -> 5 [arrowhead=none, |
|
1427 penwidth=2.0]; |
|
1428 6 [fillcolor="#9999FF", |
|
1429 fixedsize=true, |
|
1430 group=default, |
|
1431 height=0.5, |
|
1432 label=6, |
|
1433 pin=true, |
|
1434 pos="1,6!", |
|
1435 shape=circle, |
|
1436 style=filled, |
|
1437 width=0.5]; |
|
1438 5 -> 6 [arrowhead=none, |
|
1439 penwidth=2.0]; |
|
1440 7 [fillcolor="#9999FF", |
|
1441 fixedsize=true, |
|
1442 group=default, |
|
1443 height=0.5, |
|
1444 label=7, |
|
1445 pin=true, |
|
1446 pos="1,7!", |
|
1447 shape=circle, |
|
1448 style=filled, |
|
1449 width=0.5]; |
|
1450 6 -> 7 [arrowhead=none, |
|
1451 penwidth=2.0]; |
|
1452 11 [fillcolor="#9999FF", |
|
1453 fixedsize=true, |
|
1454 group=default, |
|
1455 height=0.5, |
|
1456 label=11, |
|
1457 pin=true, |
|
1458 pos="1,11!", |
|
1459 shape=circle, |
|
1460 style=filled, |
|
1461 width=0.5]; |
|
1462 7 -> 11 [arrowhead=none, |
|
1463 penwidth=2.0]; |
|
1464 14 [fillcolor="#9999FF", |
|
1465 fixedsize=true, |
|
1466 group=default, |
|
1467 height=0.5, |
|
1468 label=14, |
|
1469 pin=true, |
|
1470 pos="1,14!", |
|
1471 shape=pentagon, |
|
1472 style=filled, |
|
1473 width=0.5]; |
|
1474 11 -> 14 [arrowhead=none, |
|
1475 penwidth=2.0]; |
|
1476 16 [fillcolor="#9999FF", |
|
1477 fixedsize=true, |
|
1478 group=default, |
|
1479 height=0.5, |
|
1480 label=16, |
|
1481 pin=true, |
|
1482 pos="1,16!", |
|
1483 shape=pentagon, |
|
1484 style=filled, |
|
1485 width=0.5]; |
|
1486 14 -> 16 [arrowhead=none, |
|
1487 penwidth=2.0]; |
|
1488 } |
|
1489 #endif |
728 |
1490 |
729 We can push this evolution to remote. |
1491 We can push this evolution to remote. |
730 |
1492 |
731 $ hg push remote |
1493 $ hg push remote |
732 pushing to $TESTTMP/remote (glob) |
1494 pushing to $TESTTMP/remote (glob) |
795 o 9ca060c80d74 (public): SPAM |
1557 o 9ca060c80d74 (public): SPAM |
796 | |
1558 | |
797 o 7e82d3f3c2cb (public): Monthy Python Shopping list |
1559 o 7e82d3f3c2cb (public): Monthy Python Shopping list |
798 |
1560 |
799 |
1561 |
|
1562 #if docgraph-ext |
|
1563 $ hg docgraph -r "all()" --sphinx-directive --rankdir LR #rest-ignore |
|
1564 .. graphviz:: |
|
1565 |
|
1566 strict digraph { |
|
1567 graph [rankdir=LR, |
|
1568 splines=polyline |
|
1569 ]; |
|
1570 node [label="\N"]; |
|
1571 0 [fillcolor="#9999FF", |
|
1572 fixedsize=true, |
|
1573 group=default, |
|
1574 height=0.5, |
|
1575 label=0, |
|
1576 pin=true, |
|
1577 pos="1,0!", |
|
1578 shape=circle, |
|
1579 style=filled, |
|
1580 width=0.5]; |
|
1581 5 [fillcolor="#9999FF", |
|
1582 fixedsize=true, |
|
1583 group=default, |
|
1584 height=0.5, |
|
1585 label=5, |
|
1586 pin=true, |
|
1587 pos="1,5!", |
|
1588 shape=circle, |
|
1589 style=filled, |
|
1590 width=0.5]; |
|
1591 0 -> 5 [arrowhead=none, |
|
1592 penwidth=2.0]; |
|
1593 6 [fillcolor="#9999FF", |
|
1594 fixedsize=true, |
|
1595 group=default, |
|
1596 height=0.5, |
|
1597 label=6, |
|
1598 pin=true, |
|
1599 pos="1,6!", |
|
1600 shape=circle, |
|
1601 style=filled, |
|
1602 width=0.5]; |
|
1603 5 -> 6 [arrowhead=none, |
|
1604 penwidth=2.0]; |
|
1605 7 [fillcolor="#9999FF", |
|
1606 fixedsize=true, |
|
1607 group=default, |
|
1608 height=0.5, |
|
1609 label=7, |
|
1610 pin=true, |
|
1611 pos="1,7!", |
|
1612 shape=circle, |
|
1613 style=filled, |
|
1614 width=0.5]; |
|
1615 6 -> 7 [arrowhead=none, |
|
1616 penwidth=2.0]; |
|
1617 11 [fillcolor="#9999FF", |
|
1618 fixedsize=true, |
|
1619 group=default, |
|
1620 height=0.5, |
|
1621 label=11, |
|
1622 pin=true, |
|
1623 pos="1,11!", |
|
1624 shape=circle, |
|
1625 style=filled, |
|
1626 width=0.5]; |
|
1627 7 -> 11 [arrowhead=none, |
|
1628 penwidth=2.0]; |
|
1629 14 [fillcolor="#9999FF", |
|
1630 fixedsize=true, |
|
1631 group=default, |
|
1632 height=0.5, |
|
1633 label=14, |
|
1634 pin=true, |
|
1635 pos="1,14!", |
|
1636 shape=pentagon, |
|
1637 style=filled, |
|
1638 width=0.5]; |
|
1639 11 -> 14 [arrowhead=none, |
|
1640 penwidth=2.0]; |
|
1641 16 [fillcolor="#9999FF", |
|
1642 fixedsize=true, |
|
1643 group=default, |
|
1644 height=0.5, |
|
1645 label=16, |
|
1646 pin=true, |
|
1647 pos="1,16!", |
|
1648 shape=pentagon, |
|
1649 style=filled, |
|
1650 width=0.5]; |
|
1651 14 -> 16 [arrowhead=none, |
|
1652 penwidth=2.0]; |
|
1653 17 [fillcolor="#9999FF", |
|
1654 fixedsize=true, |
|
1655 group=default, |
|
1656 height=0.5, |
|
1657 label=17, |
|
1658 pin=true, |
|
1659 pos="1,17!", |
|
1660 shape=pentagon, |
|
1661 style=filled, |
|
1662 width=0.5]; |
|
1663 16 -> 17 [arrowhead=none, |
|
1664 penwidth=2.0]; |
|
1665 } |
|
1666 #endif |
|
1667 |
800 In the mean time I noticed you can't buy animals in a super market and I prune the animal changeset: |
1668 In the mean time I noticed you can't buy animals in a super market and I prune the animal changeset: |
801 |
1669 |
802 $ hg prune ee942144f952 |
1670 $ hg prune ee942144f952 |
803 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
1671 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
804 working directory now at a44c85f957d3 |
1672 working directory now at a44c85f957d3 |
824 | |
1692 | |
825 o 9ca060c80d74 (public): SPAM |
1693 o 9ca060c80d74 (public): SPAM |
826 | |
1694 | |
827 o 7e82d3f3c2cb (public): Monthy Python Shopping list |
1695 o 7e82d3f3c2cb (public): Monthy Python Shopping list |
828 |
1696 |
829 $ hg log -r 'unstable()' |
1697 |
|
1698 #if docgraph-ext |
|
1699 $ hg docgraph -r "all()" --sphinx-directive --rankdir LR #rest-ignore |
|
1700 .. graphviz:: |
|
1701 |
|
1702 strict digraph { |
|
1703 graph [rankdir=LR, |
|
1704 splines=polyline |
|
1705 ]; |
|
1706 node [label="\N"]; |
|
1707 0 [fillcolor="#9999FF", |
|
1708 fixedsize=true, |
|
1709 group=default, |
|
1710 height=0.5, |
|
1711 label=0, |
|
1712 pin=true, |
|
1713 pos="1,0!", |
|
1714 shape=circle, |
|
1715 style=filled, |
|
1716 width=0.5]; |
|
1717 5 [fillcolor="#9999FF", |
|
1718 fixedsize=true, |
|
1719 group=default, |
|
1720 height=0.5, |
|
1721 label=5, |
|
1722 pin=true, |
|
1723 pos="1,5!", |
|
1724 shape=circle, |
|
1725 style=filled, |
|
1726 width=0.5]; |
|
1727 0 -> 5 [arrowhead=none, |
|
1728 penwidth=2.0]; |
|
1729 6 [fillcolor="#9999FF", |
|
1730 fixedsize=true, |
|
1731 group=default, |
|
1732 height=0.5, |
|
1733 label=6, |
|
1734 pin=true, |
|
1735 pos="1,6!", |
|
1736 shape=circle, |
|
1737 style=filled, |
|
1738 width=0.5]; |
|
1739 5 -> 6 [arrowhead=none, |
|
1740 penwidth=2.0]; |
|
1741 7 [fillcolor="#9999FF", |
|
1742 fixedsize=true, |
|
1743 group=default, |
|
1744 height=0.5, |
|
1745 label=7, |
|
1746 pin=true, |
|
1747 pos="1,7!", |
|
1748 shape=circle, |
|
1749 style=filled, |
|
1750 width=0.5]; |
|
1751 6 -> 7 [arrowhead=none, |
|
1752 penwidth=2.0]; |
|
1753 11 [fillcolor="#9999FF", |
|
1754 fixedsize=true, |
|
1755 group=default, |
|
1756 height=0.5, |
|
1757 label=11, |
|
1758 pin=true, |
|
1759 pos="1,11!", |
|
1760 shape=circle, |
|
1761 style=filled, |
|
1762 width=0.5]; |
|
1763 7 -> 11 [arrowhead=none, |
|
1764 penwidth=2.0]; |
|
1765 14 [fillcolor="#9999FF", |
|
1766 fixedsize=true, |
|
1767 group=default, |
|
1768 height=0.5, |
|
1769 label=14, |
|
1770 pin=true, |
|
1771 pos="1,14!", |
|
1772 shape=pentagon, |
|
1773 style=filled, |
|
1774 width=0.5]; |
|
1775 11 -> 14 [arrowhead=none, |
|
1776 penwidth=2.0]; |
|
1777 16 [fillcolor="#DFDFFF", |
|
1778 fixedsize=true, |
|
1779 group=default_alt, |
|
1780 height=0.5, |
|
1781 label=16, |
|
1782 pin=true, |
|
1783 pos="2,16!", |
|
1784 shape=pentagon, |
|
1785 style="dotted, filled", |
|
1786 width=0.5]; |
|
1787 14 -> 16 [arrowhead=none, |
|
1788 penwidth=2.0]; |
|
1789 17 [fillcolor="#FF4F4F", |
|
1790 fixedsize=true, |
|
1791 group=default_alt, |
|
1792 height=0.5, |
|
1793 label=17, |
|
1794 pin=true, |
|
1795 pos="2,17!", |
|
1796 shape=pentagon, |
|
1797 style=filled, |
|
1798 width=0.5]; |
|
1799 16 -> 17 [arrowhead=none, |
|
1800 penwidth=2.0]; |
|
1801 } |
|
1802 #endif |
|
1803 |
|
1804 $ hg log -r "unstable()" |
830 99f039c5ec9e (draft): SPAM SPAM SPAM |
1805 99f039c5ec9e (draft): SPAM SPAM SPAM |
|
1806 |
|
1807 #if docgraph-ext |
|
1808 $ hg docgraph -r "unstable()" --sphinx-directive --rankdir LR #rest-ignore |
|
1809 .. graphviz:: |
|
1810 |
|
1811 strict digraph { |
|
1812 graph [rankdir=LR, |
|
1813 splines=polyline |
|
1814 ]; |
|
1815 node [label="\N"]; |
|
1816 17 [fillcolor="#FF4F4F", |
|
1817 fixedsize=true, |
|
1818 group=default_alt, |
|
1819 height=0.5, |
|
1820 label=17, |
|
1821 pin=true, |
|
1822 pos="1,17!", |
|
1823 shape=pentagon, |
|
1824 style=filled, |
|
1825 width=0.5]; |
|
1826 } |
|
1827 #endif |
831 |
1828 |
832 $ hg evolve |
1829 $ hg evolve |
833 move:[17] SPAM SPAM SPAM |
1830 move:[17] SPAM SPAM SPAM |
834 atop:[14] bathroom stuff |
1831 atop:[14] bathroom stuff |
835 merging shopping |
1832 merging shopping |
848 | |
1845 | |
849 o 9ca060c80d74 (public): SPAM |
1846 o 9ca060c80d74 (public): SPAM |
850 | |
1847 | |
851 o 7e82d3f3c2cb (public): Monthy Python Shopping list |
1848 o 7e82d3f3c2cb (public): Monthy Python Shopping list |
852 |
1849 |
|
1850 |
|
1851 #if docgraph-ext |
|
1852 $ hg docgraph -r "all()" --sphinx-directive --rankdir LR #rest-ignore |
|
1853 .. graphviz:: |
|
1854 |
|
1855 strict digraph { |
|
1856 graph [rankdir=LR, |
|
1857 splines=polyline |
|
1858 ]; |
|
1859 node [label="\N"]; |
|
1860 0 [fillcolor="#9999FF", |
|
1861 fixedsize=true, |
|
1862 group=default, |
|
1863 height=0.5, |
|
1864 label=0, |
|
1865 pin=true, |
|
1866 pos="1,0!", |
|
1867 shape=circle, |
|
1868 style=filled, |
|
1869 width=0.5]; |
|
1870 5 [fillcolor="#9999FF", |
|
1871 fixedsize=true, |
|
1872 group=default, |
|
1873 height=0.5, |
|
1874 label=5, |
|
1875 pin=true, |
|
1876 pos="1,5!", |
|
1877 shape=circle, |
|
1878 style=filled, |
|
1879 width=0.5]; |
|
1880 0 -> 5 [arrowhead=none, |
|
1881 penwidth=2.0]; |
|
1882 6 [fillcolor="#9999FF", |
|
1883 fixedsize=true, |
|
1884 group=default, |
|
1885 height=0.5, |
|
1886 label=6, |
|
1887 pin=true, |
|
1888 pos="1,6!", |
|
1889 shape=circle, |
|
1890 style=filled, |
|
1891 width=0.5]; |
|
1892 5 -> 6 [arrowhead=none, |
|
1893 penwidth=2.0]; |
|
1894 7 [fillcolor="#9999FF", |
|
1895 fixedsize=true, |
|
1896 group=default, |
|
1897 height=0.5, |
|
1898 label=7, |
|
1899 pin=true, |
|
1900 pos="1,7!", |
|
1901 shape=circle, |
|
1902 style=filled, |
|
1903 width=0.5]; |
|
1904 6 -> 7 [arrowhead=none, |
|
1905 penwidth=2.0]; |
|
1906 11 [fillcolor="#9999FF", |
|
1907 fixedsize=true, |
|
1908 group=default, |
|
1909 height=0.5, |
|
1910 label=11, |
|
1911 pin=true, |
|
1912 pos="1,11!", |
|
1913 shape=circle, |
|
1914 style=filled, |
|
1915 width=0.5]; |
|
1916 7 -> 11 [arrowhead=none, |
|
1917 penwidth=2.0]; |
|
1918 14 [fillcolor="#9999FF", |
|
1919 fixedsize=true, |
|
1920 group=default, |
|
1921 height=0.5, |
|
1922 label=14, |
|
1923 pin=true, |
|
1924 pos="1,14!", |
|
1925 shape=pentagon, |
|
1926 style=filled, |
|
1927 width=0.5]; |
|
1928 11 -> 14 [arrowhead=none, |
|
1929 penwidth=2.0]; |
|
1930 18 [fillcolor="#9999FF", |
|
1931 fixedsize=true, |
|
1932 group=default, |
|
1933 height=0.5, |
|
1934 label=18, |
|
1935 pin=true, |
|
1936 pos="1,18!", |
|
1937 shape=pentagon, |
|
1938 style=filled, |
|
1939 width=0.5]; |
|
1940 14 -> 18 [arrowhead=none, |
|
1941 penwidth=2.0]; |
|
1942 } |
|
1943 #endif |
|
1944 |
853 Handling Divergent amend |
1945 Handling Divergent amend |
854 ---------------------------------------------- |
1946 ---------------------------------------------- |
855 |
1947 |
856 We can detect that multiple diverging amendments have been made. |
1948 We can detect that multiple diverging amendments have been made. |
857 The `evolve` command can solve this situation. But all corner case are not |
1949 The `evolve` command can solve this situation. But all corner case are not |