Show More
@@ -357,11 +357,10 b' def _statusotherbook(ui, repo):' | |||
|
357 | 357 | def _statusotherbranchheads(ui, repo): |
|
358 | 358 | currentbranch = repo.dirstate.branch() |
|
359 | 359 | heads = repo.branchheads(currentbranch) |
|
360 | l = len(heads) | |
|
361 | 360 | if repo.revs('%ln and parents()', heads): |
|
362 | 361 | # we are on a head |
|
363 | 362 | otherheads = repo.revs('%ln - parents()', heads) |
|
364 |
if otherheads |
|
|
363 | if otherheads: | |
|
365 | 364 | ui.status(_('%i other heads for branch "%s"\n') % |
|
366 | 365 | (len(otherheads), currentbranch)) |
|
367 | 366 |
General Comments 0
You need to be logged in to leave comments.
Login now