Fix the patch name stripping in import
authorCatalin Marinas <catalin.marinas@gmail.com>
Sat, 25 Mar 2006 21:38:35 +0000 (21:38 +0000)
committerCatalin Marinas <catalin.marinas@gmail.com>
Sat, 25 Mar 2006 21:38:35 +0000 (21:38 +0000)
commitbcb6d890a9805ef09bcaeb3c39a099895c6dd40f
treebc8a3a59a16a668a3d1640d859929bbc3b7889c6
parentb0cdad5e3110d7dae19c7e0c33affdee241e8512
Fix the patch name stripping in import

The current implementation was only stripping if both the prefix and the
extension were present.

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