aboutsummaryrefslogtreecommitdiffstats
path: root/rrs/tools/rrs_maintainer_history.py
diff options
context:
space:
mode:
Diffstat (limited to 'rrs/tools/rrs_maintainer_history.py')
-rwxr-xr-xrrs/tools/rrs_maintainer_history.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/rrs/tools/rrs_maintainer_history.py b/rrs/tools/rrs_maintainer_history.py
index aef24315df..277cd78b2e 100755
--- a/rrs/tools/rrs_maintainer_history.py
+++ b/rrs/tools/rrs_maintainer_history.py
@@ -107,8 +107,7 @@ def maintainer_history(options, logger):
sha1=commit)
rms.save()
- branchname = 'maintainer' + commit
- utils.runcmd("git checkout %s -b %s -f" % (commit, branchname),
+ utils.runcmd("git checkout %s -f" % commit,
pokypath, logger=logger)
lines = [line.strip() for line in open(maintainers_full_path)]
@@ -145,9 +144,6 @@ def maintainer_history(options, logger):
logger.debug("%s: Not found maintainer in commit %s set to 'No maintainer'." % \
(recipe.pn, rms.sha1))
- utils.runcmd("git checkout master -f", pokypath, logger=logger)
- utils.runcmd("git branch -D %s" % (branchname), pokypath, logger=logger)
-
# set new recipes to no maintainer if don't have one
m = Maintainer.objects.get(id = 0) # No Maintainer
rms = RecipeMaintainerHistory.get_last()