Show More
@@ -1447,9 +1447,10 b' def heads(ui, repo, *branchrevs, **opts)' | |||||
1447 | if not heads: |
|
1447 | if not heads: | |
1448 | return 1 |
|
1448 | return 1 | |
1449 |
|
1449 | |||
|
1450 | heads = sorted((repo[h] for h in heads), key=lambda x: -x.rev()) | |||
1450 | displayer = cmdutil.show_changeset(ui, repo, opts) |
|
1451 | displayer = cmdutil.show_changeset(ui, repo, opts) | |
1451 |
for |
|
1452 | for ctx in heads: | |
1452 |
displayer.show( |
|
1453 | displayer.show(ctx) | |
1453 | displayer.close() |
|
1454 | displayer.close() | |
1454 |
|
1455 | |||
1455 | def help_(ui, name=None, with_version=False): |
|
1456 | def help_(ui, name=None, with_version=False): |
@@ -147,8 +147,8 b' 7: Adding c branch' | |||||
147 | abort: unknown revision 'z'! |
|
147 | abort: unknown revision 'z'! | |
148 | ------- |
|
148 | ------- | |
149 | ======= |
|
149 | ======= | |
150 | 0: Adding root node |
|
|||
151 | 1: Adding a branch |
|
|||
152 | 7: Adding c branch |
|
150 | 7: Adding c branch | |
153 | 6: Merging b branch head 2 and b branch head 3 |
|
151 | 6: Merging b branch head 2 and b branch head 3 | |
154 | 3: Adding b branch head 1 |
|
152 | 3: Adding b branch head 1 | |
|
153 | 1: Adding a branch | |||
|
154 | 0: Adding root node |
General Comments 0
You need to be logged in to leave comments.
Login now