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

hgshelve: two upstream bug fixes from record.py

Mercurial change 834f7e069cae from djc

Changeset 6a76530654e3

Parent 6a96a4d1bf66

by Steve Borho

Changes to one file · Browse files at 6a76530654e3 Showing diff from parent 6a96a4d1bf66 Diff from another changeset...

Change 1 of 2 Show Entire File hggtk/​hgshelve.py Stacked
 
165
166
167
 
 
168
169
170
 
217
218
219
220
 
221
222
223
 
165
166
167
168
169
170
171
172
 
219
220
221
 
222
223
224
225
@@ -165,6 +165,8 @@
    def write(self, fp):   delta = len(self.before) + len(self.after) + if self.after and self.after[-1] == '\\ No newline at end of file\n': + delta -= 1   fromlen = delta + self.removed   tolen = delta + self.added   fp.write('@@ -%d,%d +%d,%d @@%s\n' % @@ -217,7 +219,7 @@
  if self.context:   self.before = self.context   self.context = [] - self.hunk = data + self.hunk = hunk     def newfile(self, hdr):   self.addcontext([])