equal
deleted
inserted
replaced
157 if t.endswith('.patch') or t.endswith('.diff')] |
157 if t.endswith('.patch') or t.endswith('.diff')] |
158 if patchtags: |
158 if patchtags: |
159 patchname = patchtags[0] |
159 patchname = patchtags[0] |
160 elif total > 1: |
160 elif total > 1: |
161 patchname = cmdutil.make_filename(repo, '%b-%n.patch', |
161 patchname = cmdutil.make_filename(repo, '%b-%n.patch', |
162 binnode, idx, total) |
162 binnode, seqno=idx, total=total) |
163 else: |
163 else: |
164 patchname = cmdutil.make_filename(repo, '%b.patch', binnode) |
164 patchname = cmdutil.make_filename(repo, '%b.patch', binnode) |
165 disposition = 'inline' |
165 disposition = 'inline' |
166 if opts.get('attach'): |
166 if opts.get('attach'): |
167 disposition = 'attachment' |
167 disposition = 'attachment' |