Show More
@@ -931,7 +931,7 b' def archive(ui, repo, dest, **opts):' | |||
|
931 | 931 | prefix = make_filename(repo, repo.changelog, opts['prefix'], node) |
|
932 | 932 | if os.path.realpath(dest) == repo.root: |
|
933 | 933 | raise util.Abort(_('repository root cannot be destination')) |
|
934 |
|
|
|
934 | dummy, matchfn, dummy = matchpats(repo, [], opts) | |
|
935 | 935 | archival.archive(repo, dest, node, opts.get('type') or 'files', |
|
936 | 936 | not opts['no_decode'], matchfn, prefix) |
|
937 | 937 | |
@@ -2931,7 +2931,7 b' table = {' | |||
|
2931 | 2931 | ('I', 'include', [], _('include names matching the given patterns')), |
|
2932 | 2932 | ('X', 'exclude', [], _('exclude names matching the given patterns'))], |
|
2933 | 2933 | _('hg annotate [-r REV] [-a] [-u] [-d] [-n] [-c] FILE...')), |
|
2934 |
|
|
|
2934 | "archive": | |
|
2935 | 2935 | (archive, |
|
2936 | 2936 | [('', 'no-decode', None, _('do not pass files through decoders')), |
|
2937 | 2937 | ('p', 'prefix', '', _('directory prefix for files in archive')), |
General Comments 0
You need to be logged in to leave comments.
Login now