Do that by converting slashes in patch name to dashes. Actually one could think
that different quilt folders relate to topic branches, but I do not see an
obviously correct mapping nor users which would do that.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
return stripped
+def __replace_slashes_with_dashes(name):
+ stripped = name.replace('/', '-')
+
+ return stripped
+
def __parse_description(descr):
"""Parse the patch description and return the new description and
author information (if any).
if options.strip:
patch = __strip_patch_name(patch)
+ patch = __replace_slashes_with_dashes(patch);
if options.ignore and patch in applied:
print 'Ignoring already applied patch "%s"' % patch
continue