Mercurial > hg > hg-fastimport
changeset 92:efe678b023d3
Whitespace police
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Wed, 20 Jan 2021 21:53:47 +0000 |
| parents | c305720d5b7c |
| children | 2ce33511de87 |
| files | hgext3rd/fastimport/hgechoprocessor.py hgext3rd/fastimport/hgimport.py |
| diffstat | 2 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- 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")
--- 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
