Skip to content

Commit 1dcf7b1

Browse files
committed
More bin/mergeready bugfixes.
- Legacy-Id: 11790
1 parent 679ec63 commit 1dcf7b1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bin/mergeready

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,9 @@ for entry in ready:
289289
for line in loginfo[3:]:
290290
type, path = line[:4], line[5:]
291291
if 'M' in type or 'A' in type or 'D' in type:
292+
if ' (from ' in path:
293+
i = path.index(' (from ')
294+
path = path[:i]
292295
break
293296
# Get the test status
294297
try:
@@ -321,7 +324,7 @@ for branch in branches:
321324
if re.search('^r[0-9]+ ', line):
322325
rev, who, when = split_loginfo(line)
323326
elif re.search('^ [AMD]', line):
324-
if not ' (from ' in line:
327+
if not ' (from ' in line and not mod:
325328
mod = True
326329
elif re.search('^-{72}$', line) and rev and mod:
327330
if not rev in merged_revs:

0 commit comments

Comments
 (0)