147
147
if delta.removed:
148
148
print >>to_file, 'removed files:'
149
149
for path, fid in delta.removed:
150
print >>to_file, ' ' + path
151
print >>to_file, ' %-30s %s' % (path, fid)
153
print >>to_file, ' ', path
152
155
print >>to_file, 'added files:'
153
156
for path, fid in delta.added:
154
print >>to_file, ' ' + path
158
print >>to_file, ' %-30s %s' % (path, fid)
160
print >>to_file, ' ' + path
155
161
if delta.renamed:
156
162
print >>to_file, 'renamed files:'
157
163
for oldpath, newpath, fid in delta.renamed:
158
print >>to_file, ' %s => %s' % (oldpath, newpath)
165
print >>to_file, ' %s => %s %s' % (oldpath, newpath, fid)
167
print >>to_file, ' %s => %s' % (oldpath, newpath)
159
168
if delta.modified:
160
169
print >>to_file, 'modified files:'
161
170
for path, fid in delta.modified:
162
print >>to_file, ' ' + path
172
print >>to_file, ' %-30s %s' % (path, fid)
174
print >>to_file, ' ' + path
164
176
prev_inv = this_inv