Allow git.apply_patch() to take a base revision
authorCatalin Marinas <catalin.marinas@gmail.com>
Wed, 5 Oct 2005 15:58:18 +0000 (16:58 +0100)
committerCatalin Marinas <catalin.marinas@gmail.com>
Wed, 5 Oct 2005 15:58:18 +0000 (16:58 +0100)
commit84fcbc3b78f3a0156025d4eb6f6b76df7a5df233
treef51107f7546e311ad9da8340f471ce9b9c45d63a
parentba524d4cae140a8a4b4dc573941677841aa8db64
Allow git.apply_patch() to take a base revision

This option is useful for import --base and fold commands. Both these
commands were modified to take advantage of it. The fold commands also
supports a --base option, similar to the import one.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
stgit/commands/fold.py
stgit/commands/imprt.py
stgit/git.py
stgit/stack.py