Mercurial > hg > hg-fastimport
diff hgext3rd/fastimport/hgimport.py @ 92:efe678b023d3
Whitespace police
| author | Roy Marples <roy@marples.name> |
|---|---|
| date | Wed, 20 Jan 2021 21:53:47 +0000 |
| parents | e6602cc471d5 |
| children | 2ce33511de87 |
line wrap: on
line diff
--- 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
