Do not create an empty patch if import failed without --reject
commit46cc10370c2dc63640fbd5dbefd9fdf921488098
authorCatalin Marinas <catalin.marinas@gmail.com>
Wed, 16 Sep 2009 13:04:26 +0000 (16 14:04 +0100)
committerCatalin Marinas <catalin.marinas@gmail.com>
Wed, 16 Sep 2009 13:04:26 +0000 (16 14:04 +0100)
tree70d3271a92269772e5a0860de7867e126d9ed8a1
parentb0bff9328fcd6215093995b93673873016a4bf38
Do not create an empty patch if import failed without --reject

If the import failed, do not leave an empty patch on the stack. If this
is required, the --reject option should be passed. The patch also fixes
a lowercase typo in the --reject option description.

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