Fix the parse_patches() function to work with tuples
authorCatalin Marinas <catalin.marinas@gmail.com>
Thu, 5 Jun 2008 21:20:14 +0000 (22:20 +0100)
committerCatalin Marinas <catalin.marinas@gmail.com>
Thu, 5 Jun 2008 21:20:14 +0000 (22:20 +0100)
commit383f9458a2373046db248efb8d767e725de72907
treef812817c5508730136ee07e6ccd9eb027c5d9a86
parent023b3a8d45741d1569519b9be8eb65ea716c857c
Fix the parse_patches() function to work with tuples

The series command passes a tuple to parse_patches instead of a patch list
(the new infrastructure) but there is no patch_list.index() function.
The patch transforms the tuple into a list.

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