Ejemplo n.º 1
0
def export_patchset(start, end, output='patches', **kwargs):
    """Export patches from start^ to end."""
    return git.format_patch('-o',
                            output,
                            start + '^..' + end,
                            with_stderr=True,
                            with_status=True,
                            **kwargs)
Ejemplo n.º 2
0
def export_patchset(start, end, output="patches", **kwargs):
    """Export patches from start^ to end."""
    return git.format_patch("-o", output, start + "^.." + end, **kwargs)
Ejemplo n.º 3
0
def export_patchset(start, end, output='patches', **kwargs):
    """Export patches from start^ to end."""
    return git.format_patch('-o', output, start + '^..' + end,
                            with_stderr=True,
                            with_status=True,
                            **kwargs)