Mercurial > hg > hg-fastimport
diff hgfastimport/hgimport.py @ 40:0eb03c70c8f0
HgImportProcessor: comments; remove unused instance attrs.
| author | Greg Ward <greg-hg@gerg.ca> |
|---|---|
| date | Sun, 10 May 2009 10:23:54 -0400 |
| parents | 177a133519bc |
| children | a1ccf1817b65 |
line wrap: on
line diff
--- a/hgfastimport/hgimport.py Sat May 09 18:52:33 2009 -0400 +++ b/hgfastimport/hgimport.py Sun May 10 10:23:54 2009 -0400 @@ -39,13 +39,9 @@ self.ui = ui self.repo = repo self.opts = opts - self.last_mark = None - self.mark_map = {} - self.branch_map = {} self.last_commit = None # CommitCommand object - #self.tag_map = {} - #self.tag_back_map = {} - self.finished = False + self.mark_map = {} # map mark (e.g. ":1") to changelog node ID(?) + self.branch_map = {} # map git branch name to changelog node ID(?) self.numblobs = 0 # for progress reporting self.blobdir = None @@ -183,7 +179,6 @@ self.branch_map[cmd.ref] = self.committish_rev(cmd.from_) def tag_handler(self, cmd): - # self.tag_map[cmd.id] = self.tag_back_map[cmd.from_] pass class HgImportCommitHandler(processor.CommitHandler):
