Show More
@@ -129,7 +129,7 b' def onetimesetup(ui):' | |||
|
129 | 129 | wireprotov1server.commands['stream_out_shallow'] = (stream_out_shallow, '*') |
|
130 | 130 | |
|
131 | 131 | # don't clone filelogs to shallow clients |
|
132 | def _walkstreamfiles(orig, repo): | |
|
132 | def _walkstreamfiles(orig, repo, matcher=None): | |
|
133 | 133 | if state.shallowremote: |
|
134 | 134 | # if we are shallow ourselves, stream our local commits |
|
135 | 135 | if shallowutil.isenabled(repo): |
@@ -173,7 +173,7 b' def onetimesetup(ui):' | |||
|
173 | 173 | raise error.Abort(_("Cannot clone from a shallow repo " |
|
174 | 174 | "to a full repo.")) |
|
175 | 175 | else: |
|
176 | for x in orig(repo): | |
|
176 | for x in orig(repo, matcher): | |
|
177 | 177 | yield x |
|
178 | 178 | |
|
179 | 179 | extensions.wrapfunction(streamclone, '_walkstreamfiles', _walkstreamfiles) |
General Comments 0
You need to be logged in to leave comments.
Login now