Mercurial > hg
comparison hgext/convert/convcmd.py @ 12769:daa8dc6e1f66
convert: kill trailing whitespace
author | timeless <timeless@gmail.com> |
---|---|
date | Wed, 20 Oct 2010 10:07:38 +0200 |
parents | c6b55be14461 |
children | b14ed1692b27 |
comparison
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 |