Implement the 'goto' command
authorCatalin Marinas <catalin.marinas@gmail.com>
Thu, 25 May 2006 20:38:10 +0000 (21:38 +0100)
committerCatalin Marinas <catalin.marinas@gmail.com>
Thu, 25 May 2006 20:38:10 +0000 (21:38 +0100)
commit994fdba73855eb93305d4722678b2af8266dbcb5
tree8131c01773e24f93ab293c3e3b7b845f6d3a1e6e
parentd0bfda1a1a21cb1f4ef661051199f98fd4869752
Implement the 'goto' command

Push/pop patches to/from the stack until the one given on the command
line becomes current. This is a shortcut for the 'push --to' or 'pop
--to' commands. There is no '--undo' option for 'goto'. Use the 'push'
command for this.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
stgit/commands/common.py
stgit/commands/goto.py [new file with mode: 0644]
stgit/commands/pop.py
stgit/main.py