Show More
@@ -3437,9 +3437,9 b' def commitstatus(repo, node, branch, bhe' | |||||
3437 | not opts.get(b'amend') |
|
3437 | not opts.get(b'amend') | |
3438 | and bheads |
|
3438 | and bheads | |
3439 | and node not in bheads |
|
3439 | and node not in bheads | |
3440 |
and not |
|
3440 | and not any( | |
3441 |
|
|
3441 | x.node() in bheads and x.branch() == branch for x in parents | |
3442 |
|
|
3442 | ) | |
3443 | ): |
|
3443 | ): | |
3444 | repo.ui.status(_(b'created new head\n')) |
|
3444 | repo.ui.status(_(b'created new head\n')) | |
3445 | # The message is not printed for initial roots. For the other |
|
3445 | # The message is not printed for initial roots. For the other |
General Comments 0
You need to be logged in to leave comments.
Login now