Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.6, 0.7, and 0.7.1

changeset: fix missing parent/child fields in commit headers

caused by empty commit messages in the parent/child changesets

Changeset abc19dbca8ae

Parent 2b6373ad3efe

by TK Soh

Changes to one file · Browse files at abc19dbca8ae Showing diff from parent 2b6373ad3efe Diff from another changeset...

 
133
134
135
136
137
 
 
 
 
 
138
139
140
 
144
145
146
147
148
 
 
 
 
 
149
150
151
 
133
134
135
 
 
136
137
138
139
140
141
142
143
 
147
148
149
 
 
150
151
152
153
154
155
156
157
@@ -133,8 +133,11 @@
  title_line('user/date:', ctx.user() + '\t' + date, 'changeset')   for p in parents:   pctx = self.repo.changectx(p) - summary = pctx.description().splitlines()[0] - summary = toutf(summary) + try: + summary = pctx.description().splitlines()[0] + summary = toutf(summary) + except: + summary = ""   change = str(p) + ':' + short(self.repo.changelog.node(p))   title = 'parent:'   title += ' ' * (12 - len(title)) @@ -144,8 +147,11 @@
  buf.insert(eob, "\n")   for n in self.repo.changelog.children(ctx.node()):   cctx = self.repo.changectx(n) - summary = cctx.description().splitlines()[0] - summary = toutf(summary) + try: + summary = cctx.description().splitlines()[0] + summary = toutf(summary) + except: + summary = ""   childrev = self.repo.changelog.rev(n)   change = str(childrev) + ':' + short(n)   title = 'child:'