Show More
@@ -2918,6 +2918,9 b' def summary(ui, repo):' | |||||
2918 | elif pnode not in bheads: |
|
2918 | elif pnode not in bheads: | |
2919 | t += _(' (new branch head)') |
|
2919 | t += _(' (new branch head)') | |
2920 |
|
2920 | |||
|
2921 | if 'clean' in t: | |||
|
2922 | ui.status(_('commit: %s\n') % t.strip()) | |||
|
2923 | else: | |||
2921 | ui.write(_('commit: %s\n') % t.strip()) |
|
2924 | ui.write(_('commit: %s\n') % t.strip()) | |
2922 |
|
2925 | |||
2923 | # all ancestors of branch heads - all ancestors of parent = new csets |
|
2926 | # all ancestors of branch heads - all ancestors of parent = new csets | |
@@ -2930,7 +2933,7 b' def summary(ui, repo):' | |||||
2930 | new = sum(new) |
|
2933 | new = sum(new) | |
2931 |
|
2934 | |||
2932 | if new == 0: |
|
2935 | if new == 0: | |
2933 |
ui. |
|
2936 | ui.status(_('update: (current)\n')) | |
2934 | elif pnode not in bheads: |
|
2937 | elif pnode not in bheads: | |
2935 | ui.write(_('update: %d new changesets (update)\n') % new) |
|
2938 | ui.write(_('update: %d new changesets (update)\n') % new) | |
2936 | else: |
|
2939 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now