comparison mercurial/util.py @ 7879:5c4026a289a4

templater: ability to display diffstat for log-like commands
author Alexander Solovyov <piranha at piranha.org.ua>
date Mon, 23 Mar 2009 10:41:42 +0100
parents 553aa0cbeab6
children e710f0f592b2
comparison
equal deleted inserted replaced
7878:8c09952cd39a 7879:5c4026a289a4
2015 except ValueError: 2015 except ValueError:
2016 pass 2016 pass
2017 except ImportError: 2017 except ImportError:
2018 pass 2018 pass
2019 return 80 2019 return 80
2020
2021 def iterlines(iterator):
2022 for chunk in iterator:
2023 for line in chunk.splitlines():
2024 yield line