##// END OF EJS Templates
Merge with crew-stable
Brendan Cully -
r5183:f8aa1653 merge default
parent child Browse files
Show More
@@ -924,8 +924,6 b' class queue:'
924 if line.startswith('diff --git'):
924 if line.startswith('diff --git'):
925 self.diffopts().git = True
925 self.diffopts().git = True
926 break
926 break
927 patchf.seek(0)
928 patchf.truncate()
929
927
930 msg = opts.get('msg', '').rstrip()
928 msg = opts.get('msg', '').rstrip()
931 if msg:
929 if msg:
@@ -940,6 +938,10 b' class queue:'
940 ci += 1
938 ci += 1
941 del comments[ci]
939 del comments[ci]
942 comments.append(msg)
940 comments.append(msg)
941
942 patchf.seek(0)
943 patchf.truncate()
944
943 if comments:
945 if comments:
944 comments = "\n".join(comments) + '\n\n'
946 comments = "\n".join(comments) + '\n\n'
945 patchf.write(comments)
947 patchf.write(comments)
General Comments 0
You need to be logged in to leave comments. Login now