equal
deleted
inserted
replaced
304 for r in revs: |
304 for r in revs: |
305 if r == prev and (repo[None].files() or repo[None].deleted()): |
305 if r == prev and (repo[None].files() or repo[None].deleted()): |
306 ui.warn(_('warning: working directory has ' |
306 ui.warn(_('warning: working directory has ' |
307 'uncommitted changes\n')) |
307 'uncommitted changes\n')) |
308 output = stringio() |
308 output = stringio() |
309 cmdutil.export(repo, [r], fp=output, |
309 cmdutil.exportfile(repo, [r], output, |
310 opts=patch.difffeatureopts(ui, opts, git=True)) |
310 opts=patch.difffeatureopts(ui, opts, git=True)) |
311 yield output.getvalue().split('\n') |
311 yield output.getvalue().split('\n') |
312 def _getbundle(repo, dest, **opts): |
312 def _getbundle(repo, dest, **opts): |
313 """return a bundle containing changesets missing in "dest" |
313 """return a bundle containing changesets missing in "dest" |
314 |
314 |
315 The `opts` keyword-arguments are the same as the one accepted by the |
315 The `opts` keyword-arguments are the same as the one accepted by the |