Mercurial > hg > easyhg
comparison src/grapher.cpp @ 399:b1f0fa991c49 item_appearance_adjustments
Use circle presentation for uncommitted merge as well as merge changeset
author | Chris Cannam |
---|---|
date | Wed, 25 May 2011 14:58:49 +0100 |
parents | 61bde1f0ff0a |
children | 69fb864a3972 |
comparison
equal
deleted
inserted
replaced
398:4f3d96c1916f | 399:b1f0fa991c49 |
---|---|
462 | 462 |
463 // If the uncommitted item has no parents on the same branch, | 463 // If the uncommitted item has no parents on the same branch, |
464 // tell it it has a new branch (the "show branch" flag is set | 464 // tell it it has a new branch (the "show branch" flag is set |
465 // elsewhere for this item) | 465 // elsewhere for this item) |
466 m_uncommitted->setIsNewBranch(!haveParentOnBranch); | 466 m_uncommitted->setIsNewBranch(!haveParentOnBranch); |
467 | |
468 // Uncommitted is a merge if it has more than one parent | |
469 m_uncommitted->setIsMerge(m_uncommittedParents.size() > 1); | |
467 } | 470 } |
468 | 471 |
469 // Add the branch labels | 472 // Add the branch labels |
470 | 473 |
471 foreach (Changeset *cs, csets) { | 474 foreach (Changeset *cs, csets) { |