Show More
@@ -2516,6 +2516,9 proc selectline {l isnew} { | |||
|
2516 | 2516 | } |
|
2517 | 2517 | $ctext insert end "User: [lindex $info 1]\n" |
|
2518 | 2518 | $ctext insert end "Date: [lindex $info 2]\n" |
|
2519 | if {[lindex $info 3] ne ""} { | |
|
2520 | $ctext insert end "Committer: [lindex $info 3]\n" | |
|
2521 | } | |
|
2519 | 2522 | if {[info exists idbookmarks($id)]} { |
|
2520 | 2523 | $ctext insert end "Bookmarks:" |
|
2521 | 2524 | foreach bookmark $idbookmarks($id) { |
@@ -117,15 +117,11 def catcommit(ui, repo, n, prefix, ctx=N | |||
|
117 | 117 | |
|
118 | 118 | date = ctx.date() |
|
119 | 119 | description = ctx.description().replace("\0", "") |
|
120 | lines = description.splitlines() | |
|
121 | if lines and lines[-1].startswith('committer:'): | |
|
122 | committer = lines[-1].split(': ')[1].rstrip() | |
|
123 | else: | |
|
124 | committer = "" | |
|
120 | ui.write(("author %s %s %s\n" % (ctx.user(), int(date[0]), date[1]))) | |
|
125 | 121 | |
|
126 | ui.write(("author %s %s %s\n" % (ctx.user(), int(date[0]), date[1]))) | |
|
127 | if committer != '': | |
|
128 | ui.write(("committer %s %s %s\n" % (committer, int(date[0]), date[1]))) | |
|
122 | if 'committer' in ctx.extra(): | |
|
123 | ui.write(("committer %s\n" % ctx.extra()['committer'])) | |
|
124 | ||
|
129 | 125 | ui.write(("revision %d\n" % ctx.rev())) |
|
130 | 126 | ui.write(("branch %s\n" % ctx.branch())) |
|
131 | 127 | if obsolete.isenabled(repo, obsolete.createmarkersopt): |
General Comments 0
You need to be logged in to leave comments.
Login now