Add patch editing command
commited60fdae02d9317475eb64328ec683e1148c3f7b
authorCatalin Marinas <catalin.marinas@gmail.com>
Fri, 14 Sep 2007 17:51:57 +0000 (14 18:51 +0100)
committerCatalin Marinas <catalin.marinas@gmail.com>
Fri, 14 Sep 2007 17:51:57 +0000 (14 18:51 +0100)
treeb0c37f131b9b4d8def160848f82d257169849be0
parentd0c5824b591c3e99d693cffbefc777d6bd7c2ccb
Add patch editing command

This patch adds the 'edit' command which takes most of the similar
functionality out of 'refresh'. In addition, it allows the direct
patch diff editing with the '--diff' option. The patch/e-mail parsing
functions were moved from stgit.commands.imprt to
stgit.commands.common as they are now used by both 'import' and
'edit'.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
contrib/stgit-completion.bash
stgit/commands/common.py
stgit/commands/edit.py [new file with mode: 0644]
stgit/commands/imprt.py
stgit/commands/refresh.py
stgit/git.py
stgit/main.py
stgit/stack.py
t/t1400-patch-history.sh