Show More
@@ -313,15 +313,15 b' def archive(repo, dest, node, kind, deco' | |||
|
313 | 313 | ctx = repo[node] |
|
314 | 314 | archiver = archivers[kind](dest, mtime or ctx.date()[0]) |
|
315 | 315 | |
|
316 | if not match: | |
|
317 | match = scmutil.matchall(repo) | |
|
318 | ||
|
316 | 319 | if repo.ui.configbool("ui", "archivemeta"): |
|
317 | 320 | name = '.hg_archival.txt' |
|
318 |
if |
|
|
321 | if match(name): | |
|
319 | 322 | write(name, 0o644, False, lambda: buildmetadata(ctx)) |
|
320 | 323 | |
|
321 | if match: | |
|
322 | files = [f for f in ctx.manifest().keys() if match(f)] | |
|
323 | else: | |
|
324 | files = ctx.manifest().keys() | |
|
324 | files = [f for f in ctx.manifest().keys() if match(f)] | |
|
325 | 325 | total = len(files) |
|
326 | 326 | if total: |
|
327 | 327 | files.sort() |
General Comments 0
You need to be logged in to leave comments.
Login now