Mercurial > hg > hg-fastimport
diff hgfastimport/hgimport.py @ 48:1cf21a8c274b
Adapt to upstream changes in pyfastimport.
- use parse(), not iter_commands()
- changeset hashes differ for streams with inline file contents
| author | Greg Ward <greg-hg@gerg.ca> |
|---|---|
| date | Sun, 17 May 2009 18:18:01 -0400 |
| parents | 7ff36dc9f0b1 |
| children | ed66bd7bd2f6 |
line wrap: on
line diff
--- a/hgfastimport/hgimport.py Sat May 16 12:57:22 2009 -0400 +++ b/hgfastimport/hgimport.py Sun May 17 18:18:01 2009 -0400 @@ -113,7 +113,7 @@ self.ui.debug("reading fastimport source: %s\n" % source) f = open(source) p = parser.ImportParser(f) - self.processor.process(p.iter_commands) + self.processor.process(p.parse) f.close() self.parsed = True
