Add a trash directory with deleted patches
authorCatalin Marinas <catalin.marinas@gmail.com>
Wed, 8 Nov 2006 22:30:02 +0000 (22:30 +0000)
committerCatalin Marinas <catalin.marinas@gmail.com>
Wed, 8 Nov 2006 22:30:02 +0000 (22:30 +0000)
commitac50371bda350d9d8a9d7bd23b1d5691d82b4d0d
treeca72cac9bd5b3d0818239179e81b77fadc7595e5
parent6ef533bcc52fbf933e9f428d8ea2bf690f0ad76a
Add a trash directory with deleted patches

Since the delete command now supports multiple patches (and a ".." would
remove the whole stack), it is safer to copy the commit ids to
.git/patches/<branch>/trash/ in case a restore is needed. There is no
command allowing the restoring yet.

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