##// END OF EJS Templates
changegroup: change topics during generation...
Gregory Szorc -
r39275:0617a700 default
parent child Browse files
Show More
@@ -658,15 +658,15 b' def _makenarrowdeltarequest(cl, store, i'
658
658
659 def deltagroup(repo, store, nodes, ischangelog, lookup, forcedeltaparentprev,
659 def deltagroup(repo, store, nodes, ischangelog, lookup, forcedeltaparentprev,
660 allowreorder,
660 allowreorder,
661 units=None,
661 topic=None,
662 ellipses=False, clrevtolocalrev=None, fullclnodes=None,
662 ellipses=False, clrevtolocalrev=None, fullclnodes=None,
663 precomputedellipsis=None):
663 precomputedellipsis=None):
664 """Calculate deltas for a set of revisions.
664 """Calculate deltas for a set of revisions.
665
665
666 Is a generator of ``revisiondelta`` instances.
666 Is a generator of ``revisiondelta`` instances.
667
667
668 If units is not None, progress detail will be generated, units specifies
668 If topic is not None, progress detail will be generated using this
669 the type of revlog that is touched (changelog, manifest, etc.).
669 topic name (e.g. changesets, manifests, etc).
670 """
670 """
671 if not nodes:
671 if not nodes:
672 return
672 return
@@ -743,8 +743,8 b' def deltagroup(repo, store, nodes, ischa'
743 # We expect the first pass to be fast, so we only engage the progress
743 # We expect the first pass to be fast, so we only engage the progress
744 # meter for constructing the revision deltas.
744 # meter for constructing the revision deltas.
745 progress = None
745 progress = None
746 if units is not None:
746 if topic is not None:
747 progress = repo.ui.makeprogress(_('bundling'), unit=units,
747 progress = repo.ui.makeprogress(topic, unit=_('chunks'),
748 total=len(requests))
748 total=len(requests))
749
749
750 for i, delta in enumerate(store.emitrevisiondeltas(requests)):
750 for i, delta in enumerate(store.emitrevisiondeltas(requests)):
@@ -1002,7 +1002,7 b' class cgpacker(object):'
1002 # Reorder settings are currently ignored for changelog.
1002 # Reorder settings are currently ignored for changelog.
1003 True,
1003 True,
1004 ellipses=self._ellipses,
1004 ellipses=self._ellipses,
1005 units=_('changesets'),
1005 topic=_('changesets'),
1006 clrevtolocalrev={},
1006 clrevtolocalrev={},
1007 fullclnodes=self._fullclnodes,
1007 fullclnodes=self._fullclnodes,
1008 precomputedellipsis=self._precomputedellipsis)
1008 precomputedellipsis=self._precomputedellipsis)
@@ -1083,7 +1083,7 b' class cgpacker(object):'
1083 self._repo, store, prunednodes, False, lookupfn,
1083 self._repo, store, prunednodes, False, lookupfn,
1084 self._forcedeltaparentprev, self._reorder,
1084 self._forcedeltaparentprev, self._reorder,
1085 ellipses=self._ellipses,
1085 ellipses=self._ellipses,
1086 units=_('manifests'),
1086 topic=_('manifests'),
1087 clrevtolocalrev=clrevtolocalrev,
1087 clrevtolocalrev=clrevtolocalrev,
1088 fullclnodes=self._fullclnodes,
1088 fullclnodes=self._fullclnodes,
1089 precomputedellipsis=self._precomputedellipsis)
1089 precomputedellipsis=self._precomputedellipsis)
@@ -1140,7 +1140,7 b' class cgpacker(object):'
1140 linknodes = normallinknodes
1140 linknodes = normallinknodes
1141
1141
1142 repo = self._repo
1142 repo = self._repo
1143 progress = repo.ui.makeprogress(_('bundling'), unit=_('files'),
1143 progress = repo.ui.makeprogress(_('files'), unit=_('files'),
1144 total=len(changedfiles))
1144 total=len(changedfiles))
1145 for i, fname in enumerate(sorted(changedfiles)):
1145 for i, fname in enumerate(sorted(changedfiles)):
1146 filerevlog = repo.file(fname)
1146 filerevlog = repo.file(fname)
@@ -796,13 +796,13 b' bundle single branch'
796 057f4db07f61970e1c11e83be79e9d08adc4dc31
796 057f4db07f61970e1c11e83be79e9d08adc4dc31
797 bundle2-output-bundle: "HG20", (1 params) 2 parts total
797 bundle2-output-bundle: "HG20", (1 params) 2 parts total
798 bundle2-output-part: "changegroup" (params: 1 mandatory 1 advisory) streamed payload
798 bundle2-output-part: "changegroup" (params: 1 mandatory 1 advisory) streamed payload
799 bundling: 1/2 changesets (50.00%)
799 changesets: 1/2 chunks (50.00%)
800 bundling: 2/2 changesets (100.00%)
800 changesets: 2/2 chunks (100.00%)
801 bundling: 1/2 manifests (50.00%)
801 manifests: 1/2 chunks (50.00%)
802 bundling: 2/2 manifests (100.00%)
802 manifests: 2/2 chunks (100.00%)
803 bundling: b 1/3 files (33.33%)
803 files: b 1/3 files (33.33%)
804 bundling: b1 2/3 files (66.67%)
804 files: b1 2/3 files (66.67%)
805 bundling: x 3/3 files (100.00%)
805 files: x 3/3 files (100.00%)
806 bundle2-output-part: "cache:rev-branch-cache" (advisory) streamed payload
806 bundle2-output-part: "cache:rev-branch-cache" (advisory) streamed payload
807
807
808 #if repobundlerepo
808 #if repobundlerepo
@@ -873,17 +873,17 b' Support for changegroup'
873 bundle2-output-part: "changegroup" (advisory) streamed payload
873 bundle2-output-part: "changegroup" (advisory) streamed payload
874 bundle2-output: part 0: "changegroup"
874 bundle2-output: part 0: "changegroup"
875 bundle2-output: header chunk size: 18
875 bundle2-output: header chunk size: 18
876 bundling: 1/4 changesets (25.00%)
876 changesets: 1/4 chunks (25.00%)
877 bundling: 2/4 changesets (50.00%)
877 changesets: 2/4 chunks (50.00%)
878 bundling: 3/4 changesets (75.00%)
878 changesets: 3/4 chunks (75.00%)
879 bundling: 4/4 changesets (100.00%)
879 changesets: 4/4 chunks (100.00%)
880 bundling: 1/4 manifests (25.00%)
880 manifests: 1/4 chunks (25.00%)
881 bundling: 2/4 manifests (50.00%)
881 manifests: 2/4 chunks (50.00%)
882 bundling: 3/4 manifests (75.00%)
882 manifests: 3/4 chunks (75.00%)
883 bundling: 4/4 manifests (100.00%)
883 manifests: 4/4 chunks (100.00%)
884 bundling: D 1/3 files (33.33%)
884 files: D 1/3 files (33.33%)
885 bundling: E 2/3 files (66.67%)
885 files: E 2/3 files (66.67%)
886 bundling: H 3/3 files (100.00%)
886 files: H 3/3 files (100.00%)
887 bundle2-output: payload chunk size: 1555
887 bundle2-output: payload chunk size: 1555
888 bundle2-output: closing payload chunk
888 bundle2-output: closing payload chunk
889 bundle2-output: end of bundle
889 bundle2-output: end of bundle
General Comments 0
You need to be logged in to leave comments. Login now