Mercurial > hg-stable
comparison hgext/fastexport.py @ 44767:5d309906ed0e stable
fastexport: downgrade message about already exported changesets to debug
The old warning level is just too noisy for incremental processing.
Differential Revision: https://phab.mercurial-scm.org/D8487
author | Joerg Sonnenberger <joerg@bec.de> |
---|---|
date | Mon, 27 Apr 2020 01:39:22 +0200 |
parents | 44aff45b556d |
children | edffab2cf0ea |
comparison
equal
deleted
inserted
replaced
44766:a50f33f1ff24 | 44767:5d309906ed0e |
---|---|
78 | 78 |
79 def export_commit(ui, repo, rev, marks, authormap): | 79 def export_commit(ui, repo, rev, marks, authormap): |
80 ctx = repo[rev] | 80 ctx = repo[rev] |
81 revid = ctx.hex() | 81 revid = ctx.hex() |
82 if revid in marks: | 82 if revid in marks: |
83 ui.warn(_(b"warning: revision %s already exported, skipped\n") % revid) | 83 ui.debug(b"warning: revision %s already exported, skipped\n" % revid) |
84 return | 84 return |
85 parents = [p for p in ctx.parents() if p.rev() != nullrev] | 85 parents = [p for p in ctx.parents() if p.rev() != nullrev] |
86 for p in parents: | 86 for p in parents: |
87 if p.hex() not in marks: | 87 if p.hex() not in marks: |
88 ui.warn( | 88 ui.warn( |