# HG changeset patch # User Roy Marples # Date 1611179627 0 # Node ID efe678b023d3c8f8e8d3aad98ffc0cabd083bd24 # Parent c305720d5b7c59477cc8ed1ce9c418c1b55cf7d9 Whitespace police diff -r c305720d5b7c -r efe678b023d3 hgext3rd/fastimport/hgechoprocessor.py --- a/hgext3rd/fastimport/hgechoprocessor.py Wed Jan 20 20:25:57 2021 +0000 +++ b/hgext3rd/fastimport/hgechoprocessor.py Wed Jan 20 21:53:47 2021 +0000 @@ -23,13 +23,13 @@ from .vendor.python_fastimport import processor class HgEchoProcessor(processor.ImportProcessor): - + def __init__(self, ui, repo, **opts): self.ui = ui self.repo = repo self.opts = opts self.finished = False - + def progress_handler(self, cmd): self.ui.write(cmd.dump_str(verbose=True) + "\n") diff -r c305720d5b7c -r efe678b023d3 hgext3rd/fastimport/hgimport.py --- a/hgext3rd/fastimport/hgimport.py Wed Jan 20 20:25:57 2021 +0000 +++ b/hgext3rd/fastimport/hgimport.py Wed Jan 20 21:53:47 2021 +0000 @@ -92,7 +92,7 @@ """Return the tags as a dictionary of name: revision""" # oops, this loses order return dict(self.processor.tags) - + def getchangedfiles(self, rev, i): """Return the files changed by rev compared to parent[i]. @@ -126,7 +126,7 @@ class HgImportProcessor(processor.ImportProcessor): - + tagprefix = b"refs/tags/" def __init__(self, ui, repo): @@ -345,7 +345,7 @@ # print "go for it" #return res return b"%d %d" % res - + def reset_handler(self, cmd): branch = self._getbranch(cmd.ref) if branch: @@ -400,7 +400,7 @@ # number of inline files seen in this commit self.inlinecount = 0 - + def modify_handler(self, filecmd): if filecmd.dataref: blobid = filecmd.dataref # blobid is the mark of the blob