Let parse_patch take a string instead of a file parameter
authorKarl Hasselström <kha@treskal.com>
Wed, 12 Dec 2007 21:33:32 +0000 (22:33 +0100)
committerKarl Hasselström <kha@treskal.com>
Thu, 13 Dec 2007 20:17:10 +0000 (21:17 +0100)
commitc37f9747025267b3814a2bb878f6bde0cc8e19d2
tree46c9fb818ec29322e78d4720066411dc2bcb8b26
parent8a88f7cb553d1ff6f1aa5327a27aeb3eecc49e78
Let parse_patch take a string instead of a file parameter

This makes it more generally useful, since all future callers may not
have the input in a file.

Signed-off-by: Karl Hasselström <kha@treskal.com>
stgit/commands/common.py
stgit/commands/edit.py
stgit/commands/imprt.py