Skip to content

Commit 446f627

Browse files
committed
Tweaked the bin/mergeready logic for showing unmerged commits ahead of commits marked ready to merge.
- Legacy-Id: 11802
1 parent 7e0b951 commit 446f627

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

bin/mergeready

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ hold = get_changeset_list_from_file(repo, 'hold-for-merge')
266266
ready += get_ready_commits(repo, 'personal')
267267
ready += get_ready_commits(repo, 'branch/amsl')
268268
ready += get_ready_commits(repo, 'branch/iola')
269+
ready += get_ready_commits(repo, 'branch/proceedings')
269270

270271
ready_commits = {}
271272
all_commits = {}
@@ -346,10 +347,12 @@ for key in keys:
346347
unmerged = True
347348
sys.stderr.write("There are unmerged commits ahead of r%s on branch %s:\n" % (rev, branch))
348349
for j in range(0,i):
349-
sys.stderr.write(" %s:\n" % unmerged_branch_commits[branch][j])
350-
commit_comment = pipe("svn log -c %s ^/" % unmerged_branch_commits[branch][j]).splitlines()[3:-1]
351-
for l in commit_comment:
352-
sys.stderr.write(" %s\n" % l)
350+
commit = unmerged_branch_commits[branch][j]
351+
if commit != rev:
352+
sys.stderr.write(" %s:\n" % commit)
353+
commit_comment = pipe("svn log -c %s ^/" % commit).splitlines()[3:-1]
354+
for l in commit_comment:
355+
sys.stderr.write(" %s\n" % l)
353356
del unmerged_branch_commits[branch][j]
354357
sys.stderr.write("\n")
355358
del unmerged_branch_commits[branch][0]

0 commit comments

Comments
 (0)