Show More
@@ -121,15 +121,10 b' def generate_ellipses_bundle2_for_wideni' | |||||
121 | version, |
|
121 | version, | |
122 | common, |
|
122 | common, | |
123 | known, |
|
123 | known, | |
124 | depth, |
|
|||
125 | ): |
|
124 | ): | |
126 | newmatch = narrowspec.match( |
|
125 | newmatch = narrowspec.match( | |
127 | repo.root, include=newinclude, exclude=newexclude |
|
126 | repo.root, include=newinclude, exclude=newexclude | |
128 | ) |
|
127 | ) | |
129 | if depth is not None: |
|
|||
130 | depth = int(depth) |
|
|||
131 | if depth < 1: |
|
|||
132 | raise error.Abort(_(b'depth must be positive, got %d') % depth) |
|
|||
133 |
|
128 | |||
134 | common = set(common or [nullid]) |
|
129 | common = set(common or [nullid]) | |
135 | # Steps: |
|
130 | # Steps: | |
@@ -173,7 +168,7 b' def generate_ellipses_bundle2_for_wideni' | |||||
173 | repo, |
|
168 | repo, | |
174 | matcher=newmatch, |
|
169 | matcher=newmatch, | |
175 | ellipses=True, |
|
170 | ellipses=True, | |
176 |
shallow= |
|
171 | shallow=False, | |
177 | ellipsisroots=newellipsis, |
|
172 | ellipsisroots=newellipsis, | |
178 | fullnodes=newfull, |
|
173 | fullnodes=newfull, | |
179 | ) |
|
174 | ) |
General Comments 0
You need to be logged in to leave comments.
Login now