##// END OF EJS Templates
convert: don't ignore errors from git diff-tree
Julien Cristau -
r28816:f4a42bb7 default
parent child Browse files
Show More
@@ -357,6 +357,8 b' class convert_git(common.converter_sourc'
357 output, status = self.gitrunlines('diff-tree', '--name-only',
357 output, status = self.gitrunlines('diff-tree', '--name-only',
358 '--root', '-r', version,
358 '--root', '-r', version,
359 '%s^%s' % (version, i + 1), '--')
359 '%s^%s' % (version, i + 1), '--')
360 if status:
361 raise error.Abort(_('cannot read changes in %s') % version)
360 changes = [f.rstrip('\n') for f in output]
362 changes = [f.rstrip('\n') for f in output]
361
363
362 return changes
364 return changes
General Comments 0
You need to be logged in to leave comments. Login now