Mercurial > hgsubversion
changeset 606:789eec0a339c
wrappers: fix pull output if termwidth() is inexact
This is going to happen soon on Windows.
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Mon, 26 Apr 2010 22:17:25 +0200 |
parents | b72850177e5c |
children | b5f1b629c629 |
files | hgsubversion/wrappers.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgsubversion/wrappers.py +++ b/hgsubversion/wrappers.py @@ -270,7 +270,7 @@ def pull(repo, source, heads=[], force=F msg = [s.strip() for s in msg.splitlines() if s][0] w = hgutil.termwidth() bits = (r.revnum, r.author, msg) - ui.status(('[r%d] %s: %s\n' % bits)[:w]) + ui.status(('[r%d] %s: %s' % bits)[:w] + '\n') util.progress(ui, 'pull', r.revnum - start, total=total) meta.save_tbdelta(tbdelta)