Add a --parent flag to "stgit pick".
authorYann Dirson <ydirson@altern.org>
Mon, 14 Aug 2006 16:55:42 +0000 (18:55 +0200)
committerCatalin Marinas <catalin.marinas@gmail.com>
Sun, 20 Aug 2006 10:47:21 +0000 (11:47 +0100)
commit89e3bc51b5d645f6814a152d853994467eafea81
treed2c0b7f96680838dd9ca4ece9c13820cb72c2090
parent6b1e01119114f9ebf4e047485f089b7c58823710
Add a --parent flag to "stgit pick".

This is useful to pick changes from a non-stgit branch, that were
recorded as a merge commit, while giving control on the parent to
use as "bottom" for the patch (for some reason stgit selects the
first parent by default).

Incidentally, it can be used to pick changes between arbitrary
trees in the revision graph.  Since that can be useful as well,
I did not implement the is_parent check I originally meant to add.

Signed-off-by: Yann Dirson <ydirson@altern.org>
stgit/commands/pick.py