Show More
@@ -108,9 +108,10 b' def catcommit(ui, repo, n, prefix, ctx=N' | |||||
108 | if lines and lines[-1].startswith('committer:'): |
|
108 | if lines and lines[-1].startswith('committer:'): | |
109 | committer = lines[-1].split(': ')[1].rstrip() |
|
109 | committer = lines[-1].split(': ')[1].rstrip() | |
110 | else: |
|
110 | else: | |
111 |
committer = |
|
111 | committer = "" | |
112 |
|
112 | |||
113 | ui.write(("author %s %s %s\n" % (ctx.user(), int(date[0]), date[1]))) |
|
113 | ui.write(("author %s %s %s\n" % (ctx.user(), int(date[0]), date[1]))) | |
|
114 | if committer != '': | |||
114 | ui.write(("committer %s %s %s\n" % (committer, int(date[0]), date[1]))) |
|
115 | ui.write(("committer %s %s %s\n" % (committer, int(date[0]), date[1]))) | |
115 | ui.write(("revision %d\n" % ctx.rev())) |
|
116 | ui.write(("revision %d\n" % ctx.rev())) | |
116 | ui.write(("branch %s\n\n" % ctx.branch())) |
|
117 | ui.write(("branch %s\n\n" % ctx.branch())) |
General Comments 0
You need to be logged in to leave comments.
Login now