hgext/mq.py
changeset 38050 558e5504a4f8
parent 38049 88c2d0e639b1
child 38783 e7aa113b14f7
equal deleted inserted replaced
38049:88c2d0e639b1 38050:558e5504a4f8
   490                 entry = l.split(':', 1)
   490                 entry = l.split(':', 1)
   491                 if len(entry) > 1:
   491                 if len(entry) > 1:
   492                     n, name = entry
   492                     n, name = entry
   493                     yield statusentry(bin(n), name)
   493                     yield statusentry(bin(n), name)
   494                 elif l.strip():
   494                 elif l.strip():
   495                     self.ui.warn(_('malformated mq status line: %s\n') % entry)
   495                     self.ui.warn(_('malformated mq status line: %s\n') %
       
   496                                  stringutil.pprint(entry))
   496                 # else we ignore empty lines
   497                 # else we ignore empty lines
   497         try:
   498         try:
   498             lines = self.opener.read(self.statuspath).splitlines()
   499             lines = self.opener.read(self.statuspath).splitlines()
   499             return list(parselines(lines))
   500             return list(parselines(lines))
   500         except IOError as e:
   501         except IOError as e: