hg2git.py: Display our max revision as progress, not tip

Displaying tip doesn't make sense when we have some max given with -m/--max.

Signed-off-by: Rocco Rutte <pdmef@gmx.net>
This commit is contained in:
Rocco Rutte
2007-03-12 08:12:08 +00:00
parent 469d4f3305
commit 80f028a16c

View File

@@ -330,7 +330,7 @@ def hg2git(repourl,m,marksfile,headsfile,tipfile,authors={},sob=False):
c=0
last={}
for rev in range(min,max):
c=export_commit(ui,repo,rev,marks_cache,heads_cache,last,tip,c,authors,sob)
c=export_commit(ui,repo,rev,marks_cache,heads_cache,last,max,c,authors,sob)
c=export_tags(ui,repo,marks_cache,min,max,c,authors)