diff options
author | Johannes Berg <johannes@sipsolutions.net> | 2013-03-31 00:00:32 +0100 |
---|---|---|
committer | Johannes Berg <johannes@sipsolutions.net> | 2013-03-31 00:00:32 +0100 |
commit | f6d17dce8e0d9204785683a6fff01008b680d43e (patch) | |
tree | a5b3114a10f333ea9aa15c804489722acbf0ea34 /gentree.py | |
parent | d9ffe4caf39be863f999736abc0ec2980b358fba (diff) |
make debug snapshots per applied patchset
Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Diffstat (limited to 'gentree.py')
-rwxr-xr-x | gentree.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -214,6 +214,8 @@ def main(): sys.exit(2) if not printed: print "Not applying changes from %s, not needed" % (os.path.basename(pdir),) + else: + git_debug_snapshot(args, "apply backport patches from %s" % (os.path.basename(pdir),)) # remove orig/rej files that patch sometimes creates for root, dirs, files in os.walk(args.outdir): @@ -221,8 +223,6 @@ def main(): if f[-5:] == '.orig' or f[-4:] == '.rej': os.unlink(os.path.join(root, f)) - git_debug_snapshot(args, "apply backport patches") - # rewrite Makefile and source symbols r = 'CONFIG_((' + '|'.join([s + '(_MODULE)?' for s in symbols]) + ')([^A-Za-z0-9_]|$))' r = re.compile(r, re.MULTILINE) |