Allow the Repository.get_stack() to get a default argument
authorCatalin Marinas <catalin.marinas@gmail.com>
Wed, 28 May 2008 21:02:01 +0000 (22:02 +0100)
committerCatalin Marinas <catalin.marinas@gmail.com>
Wed, 28 May 2008 21:02:01 +0000 (22:02 +0100)
commit13b26f1a18467e94b444d30d26b3e573c49ebfb3
tree4b731ebf966faa1231cc207b2579f71def38e746
parent448e5d9de516e35300c7ecee52094ecccb051c12
Allow the Repository.get_stack() to get a default argument

If no argument or if it is None, it returns the current stack. This is
useful for many of the functions taking a --branch option.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
stgit/commands/applied.py
stgit/commands/delete.py
stgit/commands/series.py
stgit/commands/unapplied.py
stgit/lib/stack.py