Refactor Series.new_patch
commite7800bdc7bc1e9e5a040c6e1d583a95566eb4f38
authorDavid Kågedal <davidk@lysator.liu.se>
Fri, 14 Sep 2007 22:32:00 +0000 (15 00:32 +0200)
committerKarl Hasselström <kha@treskal.com>
Sun, 23 Sep 2007 22:54:06 +0000 (24 00:54 +0200)
treec15dd0cc7d5fd08f6c2dcf3cc6a62368090bd315
parentc0af9df25a01b9d6eb4dd7fddbff3c56be588123
Refactor Series.new_patch

This shuffles some code so that the top and bottom never need to be
set to anything other than a valid commit and its parent.

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