Add a boundary to parse_patches()
commitceba3178f434c2a1fc4c839459efe15b9953fe7c
authorCatalin Marinas <catalin.marinas@gmail.com>
Wed, 22 Nov 2006 20:14:58 +0000 (22 20:14 +0000)
committerCatalin Marinas <catalin.marinas@gmail.com>
Wed, 22 Nov 2006 20:14:58 +0000 (22 20:14 +0000)
tree5dca8ae9ecaa6bc1d362bd90a94e915bcb5859fc
parent7c47eea5bf3e1af67b06417fa2fbda093b7e8c37
Add a boundary to parse_patches()

This is useful since specifying the ".." range would generate all the
applied and unapplied patches for commands like "show" and
"delete". With this patch, the boundary is crossed only if
specifically asked (i.e. the first and last patch of the range are on
each side of the boundary).

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
stgit/commands/common.py
stgit/commands/delete.py
stgit/commands/show.py