Show More
@@ -430,8 +430,12 b' def _shelvecreatedcommit(repo, node, nam' | |||
|
430 | 430 | shelvedfile(repo, name, 'shelve').writeinfo(info) |
|
431 | 431 | bases = list(mutableancestors(repo[node])) |
|
432 | 432 | shelvedfile(repo, name, 'hg').writebundle(bases, node) |
|
433 | # Create a matcher so that prefetch doesn't attempt to fetch the entire | |
|
434 | # repository pointlessly. | |
|
435 | match = scmutil.matchfiles(repo, repo[node].files()) | |
|
433 | 436 | with shelvedfile(repo, name, patchextension).opener('wb') as fp: |
|
434 |
cmdutil.exportfile(repo, [node], fp, opts=mdiff.diffopts(git=True) |
|
|
437 | cmdutil.exportfile(repo, [node], fp, opts=mdiff.diffopts(git=True), | |
|
438 | match=match) | |
|
435 | 439 | |
|
436 | 440 | def _includeunknownfiles(repo, pats, opts, extra): |
|
437 | 441 | s = repo.status(match=scmutil.match(repo[None], pats, opts), |
General Comments 0
You need to be logged in to leave comments.
Login now