Mercurial > hg-git
comparison hggit/git_handler.py @ 688:1323058cc652
git_handler: fix call to self.ui.progress in flush
Since we now directly use progress on self.ui, we shouldn't pass in self.ui as
the first argument. Oops.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Mon, 24 Feb 2014 15:29:31 -0800 |
parents | 7ca655e44d9a |
children | 6ab17ae0c834 |
comparison
equal
deleted
inserted
replaced
687:7ca655e44d9a | 688:1323058cc652 |
---|---|
81 else: | 81 else: |
82 self.flush(msg) | 82 self.flush(msg) |
83 | 83 |
84 def flush(self, msg=None): | 84 def flush(self, msg=None): |
85 if self.lasttopic: | 85 if self.lasttopic: |
86 self.ui.progress(self.ui, self.lasttopic, None) | 86 self.ui.progress(self.lasttopic, None) |
87 self.lasttopic = None | 87 self.lasttopic = None |
88 if msg: | 88 if msg: |
89 self.ui.note(msg + '\n') | 89 self.ui.note(msg + '\n') |
90 | 90 |
91 class GitHandler(object): | 91 class GitHandler(object): |