From 5296876da512d948177cd88e4a7661d30ad47fde 2015-03-25 18:06:24 From: Min RK Date: 2015-03-25 18:06:24 Subject: [PATCH] update already-backported search pattern catches PRs merged before splitting the 3.x branch --- diff --git a/tools/backport_pr.py b/tools/backport_pr.py index baec9bb..21df4b3 100755 --- a/tools/backport_pr.py +++ b/tools/backport_pr.py @@ -107,7 +107,7 @@ def backport_pr(branch, num, project='ipython/ipython'): return 0 -backport_re = re.compile(r"[Bb]ackport.*?(\d+)") +backport_re = re.compile(r"(?:[Bb]ackport|[Mm]erge).*#(\d+)") def already_backported(branch, since_tag=None): """return set of PRs that have been backported already"""