##// END OF EJS Templates
upgrade: properly filter action depending on planned work...
marmoute -
r45248:c36a3fcf stable
parent child Browse files
Show More
@@ -628,14 +628,12 b' def determineactions(repo, deficiencies,'
628 """
628 """
629 newactions = []
629 newactions = []
630
630
631 knownreqs = supporteddestrequirements(repo)
632
633 for d in deficiencies:
631 for d in deficiencies:
634 name = d.name
632 name = d._requirement
635
633
636 # If the action is a requirement that doesn't show up in the
634 # If the action is a requirement that doesn't show up in the
637 # destination requirements, prune the action.
635 # destination requirements, prune the action.
638 if name in knownreqs and name not in destreqs:
636 if name is not None and name not in destreqs:
639 continue
637 continue
640
638
641 newactions.append(d)
639 newactions.append(d)
@@ -133,12 +133,6 b' non-lfs content, and the extension enabl'
133 requirements
133 requirements
134 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store
134 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store
135
135
136 sidedata
137 Allows storage of extra data alongside a revision.
138
139 copies-sdc
140 Allows to use more efficient algorithm to deal with copy tracing.
141
142 beginning upgrade...
136 beginning upgrade...
143 repository locked and read-only
137 repository locked and read-only
144 creating temporary repository to stage migrated data: * (glob)
138 creating temporary repository to stage migrated data: * (glob)
@@ -159,12 +159,6 b' An upgrade of a repository created with '
159 requirements
159 requirements
160 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store
160 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store
161
161
162 sidedata
163 Allows storage of extra data alongside a revision.
164
165 copies-sdc
166 Allows to use more efficient algorithm to deal with copy tracing.
167
168 additional optimizations are available by specifying "--optimize <name>":
162 additional optimizations are available by specifying "--optimize <name>":
169
163
170 re-delta-parent
164 re-delta-parent
@@ -189,12 +183,6 b' An upgrade of a repository created with '
189 requirements
183 requirements
190 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store
184 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store
191
185
192 sidedata
193 Allows storage of extra data alongside a revision.
194
195 copies-sdc
196 Allows to use more efficient algorithm to deal with copy tracing.
197
198 re-delta-parent
186 re-delta-parent
199 deltas within internal storage will choose a new base revision if needed
187 deltas within internal storage will choose a new base revision if needed
200
188
@@ -219,12 +207,6 b' modern form of the option'
219 requirements
207 requirements
220 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store
208 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store
221
209
222 sidedata
223 Allows storage of extra data alongside a revision.
224
225 copies-sdc
226 Allows to use more efficient algorithm to deal with copy tracing.
227
228 re-delta-parent
210 re-delta-parent
229 deltas within internal storage will choose a new base revision if needed
211 deltas within internal storage will choose a new base revision if needed
230
212
@@ -332,12 +314,6 b' Various sub-optimal detections work'
332 sparserevlog
314 sparserevlog
333 Revlog supports delta chain with more unused data between payload. These gaps will be skipped at read time. This allows for better delta chains, making a better compression and faster exchange with server.
315 Revlog supports delta chain with more unused data between payload. These gaps will be skipped at read time. This allows for better delta chains, making a better compression and faster exchange with server.
334
316
335 sidedata
336 Allows storage of extra data alongside a revision.
337
338 copies-sdc
339 Allows to use more efficient algorithm to deal with copy tracing.
340
341 additional optimizations are available by specifying "--optimize <name>":
317 additional optimizations are available by specifying "--optimize <name>":
342
318
343 re-delta-parent
319 re-delta-parent
@@ -386,12 +362,6 b' Various sub-optimal detections work'
386 sparserevlog
362 sparserevlog
387 Revlog supports delta chain with more unused data between payload. These gaps will be skipped at read time. This allows for better delta chains, making a better compression and faster exchange with server.
363 Revlog supports delta chain with more unused data between payload. These gaps will be skipped at read time. This allows for better delta chains, making a better compression and faster exchange with server.
388
364
389 sidedata
390 Allows storage of extra data alongside a revision.
391
392 copies-sdc
393 Allows to use more efficient algorithm to deal with copy tracing.
394
395 additional optimizations are available by specifying "--optimize <name>":
365 additional optimizations are available by specifying "--optimize <name>":
396
366
397 re-delta-parent
367 re-delta-parent
@@ -418,12 +388,6 b' Upgrading a repository that is already m'
418 requirements
388 requirements
419 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store
389 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store
420
390
421 sidedata
422 Allows storage of extra data alongside a revision.
423
424 copies-sdc
425 Allows to use more efficient algorithm to deal with copy tracing.
426
427 beginning upgrade...
391 beginning upgrade...
428 repository locked and read-only
392 repository locked and read-only
429 creating temporary repository to stage migrated data: $TESTTMP/modern/.hg/upgrade.* (glob)
393 creating temporary repository to stage migrated data: $TESTTMP/modern/.hg/upgrade.* (glob)
@@ -475,12 +439,6 b' make sure we have a .d file'
475 generaldelta
439 generaldelta
476 repository storage will be able to create optimal deltas; new repository data will be smaller and read times should decrease; interacting with other repositories using this storage model should require less network and CPU resources, making "hg push" and "hg pull" faster
440 repository storage will be able to create optimal deltas; new repository data will be smaller and read times should decrease; interacting with other repositories using this storage model should require less network and CPU resources, making "hg push" and "hg pull" faster
477
441
478 sidedata
479 Allows storage of extra data alongside a revision.
480
481 copies-sdc
482 Allows to use more efficient algorithm to deal with copy tracing.
483
484 beginning upgrade...
442 beginning upgrade...
485 repository locked and read-only
443 repository locked and read-only
486 creating temporary repository to stage migrated data: $TESTTMP/upgradegd/.hg/upgrade.* (glob)
444 creating temporary repository to stage migrated data: $TESTTMP/upgradegd/.hg/upgrade.* (glob)
@@ -577,12 +535,6 b' unless --no-backup is passed'
577 sparserevlog
535 sparserevlog
578 Revlog supports delta chain with more unused data between payload. These gaps will be skipped at read time. This allows for better delta chains, making a better compression and faster exchange with server.
536 Revlog supports delta chain with more unused data between payload. These gaps will be skipped at read time. This allows for better delta chains, making a better compression and faster exchange with server.
579
537
580 sidedata
581 Allows storage of extra data alongside a revision.
582
583 copies-sdc
584 Allows to use more efficient algorithm to deal with copy tracing.
585
586 beginning upgrade...
538 beginning upgrade...
587 repository locked and read-only
539 repository locked and read-only
588 creating temporary repository to stage migrated data: $TESTTMP/upgradegd/.hg/upgrade.* (glob)
540 creating temporary repository to stage migrated data: $TESTTMP/upgradegd/.hg/upgrade.* (glob)
@@ -617,12 +569,6 b' We can restrict optimization to some rev'
617 requirements
569 requirements
618 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store
570 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store
619
571
620 sidedata
621 Allows storage of extra data alongside a revision.
622
623 copies-sdc
624 Allows to use more efficient algorithm to deal with copy tracing.
625
626 re-delta-parent
572 re-delta-parent
627 deltas within internal storage will choose a new base revision if needed
573 deltas within internal storage will choose a new base revision if needed
628
574
@@ -697,12 +643,6 b' Check we can select negatively'
697 requirements
643 requirements
698 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store
644 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store
699
645
700 sidedata
701 Allows storage of extra data alongside a revision.
702
703 copies-sdc
704 Allows to use more efficient algorithm to deal with copy tracing.
705
706 re-delta-parent
646 re-delta-parent
707 deltas within internal storage will choose a new base revision if needed
647 deltas within internal storage will choose a new base revision if needed
708
648
@@ -749,12 +689,6 b' Check that we can select changelog only'
749 requirements
689 requirements
750 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store
690 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store
751
691
752 sidedata
753 Allows storage of extra data alongside a revision.
754
755 copies-sdc
756 Allows to use more efficient algorithm to deal with copy tracing.
757
758 re-delta-parent
692 re-delta-parent
759 deltas within internal storage will choose a new base revision if needed
693 deltas within internal storage will choose a new base revision if needed
760
694
@@ -801,12 +735,6 b' Check that we can select filelog only'
801 requirements
735 requirements
802 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store
736 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store
803
737
804 sidedata
805 Allows storage of extra data alongside a revision.
806
807 copies-sdc
808 Allows to use more efficient algorithm to deal with copy tracing.
809
810 re-delta-parent
738 re-delta-parent
811 deltas within internal storage will choose a new base revision if needed
739 deltas within internal storage will choose a new base revision if needed
812
740
@@ -858,12 +786,6 b" Check you can't skip revlog clone during"
858 preserved: dotencode, fncache, generaldelta, revlogv1, store
786 preserved: dotencode, fncache, generaldelta, revlogv1, store
859 removed: sparserevlog
787 removed: sparserevlog
860
788
861 sidedata
862 Allows storage of extra data alongside a revision.
863
864 copies-sdc
865 Allows to use more efficient algorithm to deal with copy tracing.
866
867 re-delta-parent
789 re-delta-parent
868 deltas within internal storage will choose a new base revision if needed
790 deltas within internal storage will choose a new base revision if needed
869
791
@@ -916,12 +838,6 b" Check you can't skip revlog clone during"
916 sparserevlog
838 sparserevlog
917 Revlog supports delta chain with more unused data between payload. These gaps will be skipped at read time. This allows for better delta chains, making a better compression and faster exchange with server.
839 Revlog supports delta chain with more unused data between payload. These gaps will be skipped at read time. This allows for better delta chains, making a better compression and faster exchange with server.
918
840
919 sidedata
920 Allows storage of extra data alongside a revision.
921
922 copies-sdc
923 Allows to use more efficient algorithm to deal with copy tracing.
924
925 re-delta-parent
841 re-delta-parent
926 deltas within internal storage will choose a new base revision if needed
842 deltas within internal storage will choose a new base revision if needed
927
843
@@ -976,12 +892,6 b" store files with special filenames aren'"
976 requirements
892 requirements
977 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store
893 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store
978
894
979 sidedata
980 Allows storage of extra data alongside a revision.
981
982 copies-sdc
983 Allows to use more efficient algorithm to deal with copy tracing.
984
985 beginning upgrade...
895 beginning upgrade...
986 repository locked and read-only
896 repository locked and read-only
987 creating temporary repository to stage migrated data: $TESTTMP/store-filenames/.hg/upgrade.* (glob)
897 creating temporary repository to stage migrated data: $TESTTMP/store-filenames/.hg/upgrade.* (glob)
@@ -1013,12 +923,6 b" store files with special filenames aren'"
1013 requirements
923 requirements
1014 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store
924 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store
1015
925
1016 sidedata
1017 Allows storage of extra data alongside a revision.
1018
1019 copies-sdc
1020 Allows to use more efficient algorithm to deal with copy tracing.
1021
1022 re-delta-fulladd
926 re-delta-fulladd
1023 each revision will be added as new content to the internal storage; this will likely drastically slow down execution time, but some extensions might need it
927 each revision will be added as new content to the internal storage; this will likely drastically slow down execution time, but some extensions might need it
1024
928
@@ -1083,12 +987,6 b' Check upgrading a large file repository'
1083 requirements
987 requirements
1084 preserved: dotencode, fncache, generaldelta, largefiles, revlogv1, sparserevlog, store
988 preserved: dotencode, fncache, generaldelta, largefiles, revlogv1, sparserevlog, store
1085
989
1086 sidedata
1087 Allows storage of extra data alongside a revision.
1088
1089 copies-sdc
1090 Allows to use more efficient algorithm to deal with copy tracing.
1091
1092 beginning upgrade...
990 beginning upgrade...
1093 repository locked and read-only
991 repository locked and read-only
1094 creating temporary repository to stage migrated data: $TESTTMP/largefilesrepo/.hg/upgrade.* (glob)
992 creating temporary repository to stage migrated data: $TESTTMP/largefilesrepo/.hg/upgrade.* (glob)
@@ -1142,12 +1040,6 b' Check upgrading a large file repository'
1142 requirements
1040 requirements
1143 preserved: dotencode, fncache, generaldelta, largefiles, lfs, revlogv1, sparserevlog, store
1041 preserved: dotencode, fncache, generaldelta, largefiles, lfs, revlogv1, sparserevlog, store
1144
1042
1145 sidedata
1146 Allows storage of extra data alongside a revision.
1147
1148 copies-sdc
1149 Allows to use more efficient algorithm to deal with copy tracing.
1150
1151 beginning upgrade...
1043 beginning upgrade...
1152 repository locked and read-only
1044 repository locked and read-only
1153 creating temporary repository to stage migrated data: $TESTTMP/largefilesrepo/.hg/upgrade.* (glob)
1045 creating temporary repository to stage migrated data: $TESTTMP/largefilesrepo/.hg/upgrade.* (glob)
@@ -1243,12 +1135,6 b' repository config is taken in account'
1243 requirements
1135 requirements
1244 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store
1136 preserved: dotencode, fncache, generaldelta, revlogv1, sparserevlog, store
1245
1137
1246 sidedata
1247 Allows storage of extra data alongside a revision.
1248
1249 copies-sdc
1250 Allows to use more efficient algorithm to deal with copy tracing.
1251
1252 re-delta-all
1138 re-delta-all
1253 deltas within internal storage will be fully recomputed; this will likely drastically slow down execution time
1139 deltas within internal storage will be fully recomputed; this will likely drastically slow down execution time
1254
1140
General Comments 0
You need to be logged in to leave comments. Login now