comparison hgext/qsync.py @ 249:bd0917068cc7

qsync: fix mq commit message generation A CR was missing when both applied and ready to review patches are generated during a single qsync.
author David Douard <david.douard@logilab.fr>
date Thu, 24 May 2012 00:24:40 +0200
parents 5a17c0d41a00
children a60d11973ff3
comparison
equal deleted inserted replaced
248:3538b06ae2d2 249:bd0917068cc7
105 else: 105 else:
106 # draft 106 # draft
107 assert False, "Should be exported" 107 assert False, "Should be exported"
108 108
109 if review: 109 if review:
110 message += '\n'.join('* applied %s' % x for x in applied_list) 110 if applied_list:
111 message += '\n'.join('* %s ready for review' % x for x in review_list) 111 message += '\n'.join('* applied %s' % x for x in applied_list) + '\n'
112 if review_list:
113 message += '\n'.join('* %s ready for review' % x for x in review_list) + '\n'
112 memctx = patch.makememctx(mqrepo, (parent.node(), nullid), 114 memctx = patch.makememctx(mqrepo, (parent.node(), nullid),
113 message, 115 message,
114 None, 116 None,
115 None, 117 None,
116 parent.branch(), files, store, 118 parent.branch(), files, store,