From: Rocco Rutte Date: Mon, 12 Mar 2007 08:12:08 +0000 (+0000) Subject: hg2git.py: Display our max revision as progress, not tip X-Git-Url: http://crossforests.com/gitweb?a=commitdiff_plain;h=80f028a16c51bef1284984941e8e248b42cd55d7;p=python%2Ffast-export.git 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 --- diff --git a/hg2git.py b/hg2git.py index 9d832c3..1079684 100644 --- a/hg2git.py +++ b/hg2git.py @@ -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)