##// END OF EJS Templates
histedit: use _getsummary in torule...
Sean Farley -
r29468:04b68ce5 default
parent child Browse files
Show More
@@ -420,9 +420,7 b' class histeditaction(object):'
420 <hash> <rev> <summary>
420 <hash> <rev> <summary>
421 """
421 """
422 ctx = self.repo[self.node]
422 ctx = self.repo[self.node]
423 summary = ''
423 summary = _getsummary(ctx)
424 if ctx.description():
425 summary = ctx.description().splitlines()[0]
426 line = '%s %s %d %s' % (self.verb, ctx, ctx.rev(), summary)
424 line = '%s %s %d %s' % (self.verb, ctx, ctx.rev(), summary)
427 # trim to 75 columns by default so it's not stupidly wide in my editor
425 # trim to 75 columns by default so it's not stupidly wide in my editor
428 # (the 5 more are left for verb)
426 # (the 5 more are left for verb)
General Comments 0
You need to be logged in to leave comments. Login now