Mercurial > public > mercurial-scm > hg
comparison mercurial/filelog.py @ 49610:35d4c2124073
debug: add an option to display statistic about a unbundling operation
This will helps a lot to understand how the bundling decision have actually
impacted pull/unbundle on the other side.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 17 Oct 2022 22:19:43 +0200 |
parents | 9cac281eb9c0 |
children | 152d9c011bcd |
comparison
equal
deleted
inserted
replaced
49609:9cac281eb9c0 | 49610:35d4c2124073 |
---|---|
151 linkmapper, | 151 linkmapper, |
152 transaction, | 152 transaction, |
153 addrevisioncb=None, | 153 addrevisioncb=None, |
154 duplicaterevisioncb=None, | 154 duplicaterevisioncb=None, |
155 maybemissingparents=False, | 155 maybemissingparents=False, |
156 debug_info=None, | |
156 ): | 157 ): |
157 if maybemissingparents: | 158 if maybemissingparents: |
158 raise error.Abort( | 159 raise error.Abort( |
159 _( | 160 _( |
160 b'revlog storage does not support missing ' | 161 b'revlog storage does not support missing ' |
171 deltas, | 172 deltas, |
172 linkmapper, | 173 linkmapper, |
173 transaction, | 174 transaction, |
174 addrevisioncb=addrevisioncb, | 175 addrevisioncb=addrevisioncb, |
175 duplicaterevisioncb=duplicaterevisioncb, | 176 duplicaterevisioncb=duplicaterevisioncb, |
177 debug_info=debug_info, | |
176 ) | 178 ) |
177 | 179 |
178 def getstrippoint(self, minlink): | 180 def getstrippoint(self, minlink): |
179 return self._revlog.getstrippoint(minlink) | 181 return self._revlog.getstrippoint(minlink) |
180 | 182 |