// highlight color.
var cb = tr[i].currentBranch;
//print(JSON.stringify(cb,null,4));
- var col = (cb.lastrev == cb.remoterev) && !tr[0].hasLocalChanges ? '#ffffff' : '#ff0000';
+ var col = '#ffffff';
+ if (cb.lastrev != cb.remoterev) {
+ col = '#ff0000';
+ }
+ if (tr[i].hasLocalChanges) {
+ col = '#0000ff';
+ }
+ if ((cb.lastrev != cb.remoterev) && (tr[i].hasLocalChanges)) {
+ col = '#ff00ff';
+ }
+
this.el.set_value(ret.iter, 7, col );
}