##// END OF EJS Templates
convert: fix argument mismatch at formatting the abort message...
FUJIWARA Katsunori -
r21958:9663a785 stable
parent child Browse files
Show More
@@ -127,7 +127,8 b' class convert_git(converter_source):'
127 size = int(info[2])
127 size = int(info[2])
128 data = self.catfilepipe[1].read(size)
128 data = self.catfilepipe[1].read(size)
129 if len(data) < size:
129 if len(data) < size:
130 raise util.Abort(_('cannot read %r object at %s: %s') % (type, rev))
130 raise util.Abort(_('cannot read %r object at %s: unexpected size')
131 % (type, rev))
131 # read the trailing newline
132 # read the trailing newline
132 self.catfilepipe[1].read(1)
133 self.catfilepipe[1].read(1)
133 return data
134 return data
General Comments 0
You need to be logged in to leave comments. Login now