equal
deleted
inserted
replaced
74 raise error.Abort(_(b'no revisions specified')) |
74 raise error.Abort(_(b'no revisions specified')) |
75 |
75 |
76 heads = [] |
76 heads = [] |
77 for branch in repo.branchmap(): |
77 for branch in repo.branchmap(): |
78 heads.extend(repo.branchheads(branch)) |
78 heads.extend(repo.branchheads(branch)) |
79 heads = set(repo[h].rev() for h in heads) |
79 heads = {repo[h].rev() for h in heads} |
80 for rev in revs: |
80 for rev in revs: |
81 if rev not in heads: |
81 if rev not in heads: |
82 raise error.Abort(_(b'revision is not an open head: %d') % rev) |
82 raise error.Abort(_(b'revision is not an open head: %d') % rev) |
83 |
83 |
84 message = cmdutil.logmessage(ui, opts) |
84 message = cmdutil.logmessage(ui, opts) |