##// END OF EJS Templates
histedit: remove an unnecessary default value of `b''` for commit message...
Martin von Zweigbergk -
r49887:7bdf19f8 default
parent child Browse files
Show More
@@ -2319,10 +2319,7 b' def _newhistedit(ui, repo, state, revs, '
2319
2319
2320
2320
2321 def _getsummary(ctx):
2321 def _getsummary(ctx):
2322 # a common pattern is to extract the summary but default to the empty
2322 return stringutil.firstline(ctx.description())
2323 # string
2324 summary = ctx.description() or b''
2325 return stringutil.firstline(summary)
2326
2323
2327
2324
2328 def bootstrapcontinue(ui, state, opts):
2325 def bootstrapcontinue(ui, state, opts):
General Comments 0
You need to be logged in to leave comments. Login now