Split Series.push_patch in two
commitfe25b999a6259b475a2c377ded94e20abbb12034
authorDavid Kågedal <davidk@lysator.liu.se>
Fri, 14 Sep 2007 22:31:29 +0000 (15 00:31 +0200)
committerKarl Hasselström <kha@treskal.com>
Sun, 23 Sep 2007 22:54:06 +0000 (24 00:54 +0200)
treedba2471f8003d734cd74e225b1486a67a862b61e
parent4361d795da7d49ae5e997d4f077748950bb35601
Split Series.push_patch in two

The push_patch() function has a complex control flow and actually does
two different things depending on the 'empty' parameter. This patch
splits it in two functions without other code changes.

Later patches will refactor the code to simplify it.

Signed-off-by: David Kågedal <davidk@lysator.liu.se>
Signed-off-by: Karl Hasselström <kha@treskal.com>
stgit/commands/common.py
stgit/stack.py