Show More
@@ -109,6 +109,13 b' def logmessage(ui, opts):' | |||
|
109 | 109 | (logfile, inst.strerror)) |
|
110 | 110 | return message |
|
111 | 111 | |
|
112 | def getcommiteditor(edit=False, **opts): | |
|
113 | """get appropriate commit message editor according to '--edit' option""" | |
|
114 | if edit: | |
|
115 | return commitforceeditor | |
|
116 | else: | |
|
117 | return commiteditor | |
|
118 | ||
|
112 | 119 | def loglimit(opts): |
|
113 | 120 | """get the log limit according to option -l/--limit""" |
|
114 | 121 | limit = opts.get('limit') |
General Comments 0
You need to be logged in to leave comments.
Login now