From: David Kågedal Date: Fri, 14 Sep 2007 22:31:54 +0000 (+0200) Subject: Clear up the semantics of Series.new_patch X-Git-Tag: v0.14~72 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/commitdiff_plain/c0af9df25a01b9d6eb4dd7fddbff3c56be588123?ds=inline;hp=c0af9df25a01b9d6eb4dd7fddbff3c56be588123 Clear up the semantics of Series.new_patch This patch adds a number of assertions to document and verify the complex restrictions of the input parameters to the Series.new_patch function. It also adds the requirement that 'before_existing' and 'commit' cannot be true at the same time when calling it, instead of updating 'commit' inside the function. Signed-off-by: David Kågedal Signed-off-by: Karl Hasselström ---