Mercurial > hg-git
comparison hggit/git_handler.py @ 1115:8ed6c0cae9b8
cleanup: add some blank lines
author | Sean Farley <sean@farley.io> |
---|---|
date | Mon, 27 Nov 2017 18:46:07 -0500 |
parents | 6ef251fdbb30 |
children | bd1a01f98154 |
comparison
equal
deleted
inserted
replaced
1114:6ef251fdbb30 | 1115:8ed6c0cae9b8 |
---|---|
54 | 54 |
55 RE_AUTHOR_FILE = re.compile('\s*=\s*') | 55 RE_AUTHOR_FILE = re.compile('\s*=\s*') |
56 | 56 |
57 CALLBACK_BUFFER = '' | 57 CALLBACK_BUFFER = '' |
58 | 58 |
59 | |
59 class GitProgress(object): | 60 class GitProgress(object): |
60 """convert git server progress strings into mercurial progress""" | 61 """convert git server progress strings into mercurial progress""" |
61 def __init__(self, ui): | 62 def __init__(self, ui): |
62 self.ui = ui | 63 self.ui = ui |
63 | 64 |
93 if self.lasttopic: | 94 if self.lasttopic: |
94 self.ui.progress(self.lasttopic, None) | 95 self.ui.progress(self.lasttopic, None) |
95 self.lasttopic = None | 96 self.lasttopic = None |
96 if msg: | 97 if msg: |
97 self.ui.note(msg + '\n') | 98 self.ui.note(msg + '\n') |
99 | |
98 | 100 |
99 class GitHandler(object): | 101 class GitHandler(object): |
100 map_file = 'git-mapfile' | 102 map_file = 'git-mapfile' |
101 remote_refs_file = 'git-remote-refs' | 103 remote_refs_file = 'git-remote-refs' |
102 tags_file = 'git-tags' | 104 tags_file = 'git-tags' |