hgext/convert/convcmd.py
changeset 12769 daa8dc6e1f66
parent 12768 c6b55be14461
child 13479 b14ed1692b27
equal deleted inserted replaced
12768:c6b55be14461 12769:daa8dc6e1f66
   342             t = self.toposort(parents, sortmode)
   342             t = self.toposort(parents, sortmode)
   343             num = len(t)
   343             num = len(t)
   344             c = None
   344             c = None
   345 
   345 
   346             self.ui.status(_("converting...\n"))
   346             self.ui.status(_("converting...\n"))
   347             for i, c in enumerate(t):                
   347             for i, c in enumerate(t):
   348                 num -= 1
   348                 num -= 1
   349                 desc = self.commitcache[c].desc
   349                 desc = self.commitcache[c].desc
   350                 if "\n" in desc:
   350                 if "\n" in desc:
   351                     desc = desc.splitlines()[0]
   351                     desc = desc.splitlines()[0]
   352                 # convert log message to local encoding without using
   352                 # convert log message to local encoding without using