Add the --merged option to goto
authorCatalin Marinas <catalin.marinas@arm.com>
Thu, 9 Apr 2009 20:40:59 +0000 (23:40 +0300)
committerCatalinMarinas <cmarinas@laptop.(none)>
Thu, 9 Apr 2009 20:40:59 +0000 (23:40 +0300)
commitb4d91eee615444de17cac635f0fc7ce1391ddad3
treee4ed70f82fb13b172286c281664b7ff3c1c59949
parentd44708ef52f10a22ca3c87ff3c92bdd911bca672
Add the --merged option to goto

This patch adds support for checking which patches were already merged
upstream. This checking is done by trying to reverse-apply the patches
in the index before pushing them onto the stack.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
Acked-by: Karl Hasselström <kha@treskal.com>
stgit/argparse.py
stgit/commands/goto.py
stgit/lib/transaction.py