Show More
@@ -431,14 +431,15 b' class changeset_templater(object):' | |||||
431 | if endname in self.t: |
|
431 | if endname in self.t: | |
432 | yield self.t(endname, **args) |
|
432 | yield self.t(endname, **args) | |
433 |
|
433 | |||
434 | if brinfo: |
|
434 | def showbranches(**args): | |
435 | def showbranches(**args): |
|
435 | branch = changes[5].get("branch") | |
436 | if changenode in brinfo: |
|
436 | if branch: | |
437 |
|
|
437 | yield showlist('branch', [branch], plural='branches', **args) | |
438 | plural='branches', **args): |
|
438 | # add old style branches if requested | |
439 | yield x |
|
439 | if brinfo and changenode in brinfo: | |
440 | else: |
|
440 | for x in showlist('branch', brinfo[changenode], | |
441 | showbranches = '' |
|
441 | plural='branches', **args): | |
|
442 | yield x | |||
442 |
|
443 | |||
443 | if self.ui.debugflag: |
|
444 | if self.ui.debugflag: | |
444 | def showmanifest(**args): |
|
445 | def showmanifest(**args): |
@@ -1,7 +1,7 b'' | |||||
1 | changeset = 'changeset: {rev}:{node|short}\n{tags}{short_parents}user: {author}\ndate: {date|date}\nsummary: {desc|firstline}\n\n' |
|
1 | changeset = 'changeset: {rev}:{node|short}\n{branches}{tags}{short_parents}user: {author}\ndate: {date|date}\nsummary: {desc|firstline}\n\n' | |
2 | changeset_quiet = '{rev}:{node|short}\n' |
|
2 | changeset_quiet = '{rev}:{node|short}\n' | |
3 | changeset_verbose = 'changeset: {rev}:{node|short}\n{tags}{parents}{manifest}user: {author}\ndate: {date|date}\n{files}{file_adds}{file_dels}{file_copies}description:\n{desc|strip}\n\n\n' |
|
3 | changeset_verbose = 'changeset: {rev}:{node|short}\n{branches}{tags}{parents}{manifest}user: {author}\ndate: {date|date}\n{files}{file_adds}{file_dels}{file_copies}description:\n{desc|strip}\n\n\n' | |
4 | changeset_debug = 'changeset: {rev}:{node}\n{tags}{parents}{manifest}user: {author}\ndate: {date|date}\n{files}{file_adds}{file_dels}{file_copies}description:\n{desc|strip}\n\n\n' |
|
4 | changeset_debug = 'changeset: {rev}:{node}\n{branches}{tags}{parents}{manifest}user: {author}\ndate: {date|date}\n{files}{file_adds}{file_dels}{file_copies}description:\n{desc|strip}\n\n\n' | |
5 | start_files = 'files: ' |
|
5 | start_files = 'files: ' | |
6 | file = ' {file}' |
|
6 | file = ' {file}' | |
7 | end_files = '\n' |
|
7 | end_files = '\n' | |
@@ -17,4 +17,5 b" end_file_copies = '\\n'" | |||||
17 | short_parent = 'parent: {rev}:{node|short}\n' |
|
17 | short_parent = 'parent: {rev}:{node|short}\n' | |
18 | parent = 'parent: {rev}:{node}\n' |
|
18 | parent = 'parent: {rev}:{node}\n' | |
19 | manifest = 'manifest: {rev}:{node}\n' |
|
19 | manifest = 'manifest: {rev}:{node}\n' | |
|
20 | branch = 'branch: {branch}\n' | |||
20 | tag = 'tag: {tag}\n' |
|
21 | tag = 'tag: {tag}\n' |
General Comments 0
You need to be logged in to leave comments.
Login now