Cross Forests
/
projects
/
python
/
fast-export.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
469d4f3
)
hg2git.py: Display our max revision as progress, not tip
author
Rocco Rutte
<pdmef@gmx.net>
Mon, 12 Mar 2007 08:12:08 +0000
(08:12 +0000)
committer
Rocco Rutte
<pdmef@gmx.net>
Mon, 12 Mar 2007 08:12:08 +0000
(08:12 +0000)
Displaying tip doesn't make sense when we have some max given with -m/--max.
Signed-off-by: Rocco Rutte <pdmef@gmx.net>
hg2git.py
patch
|
blob
|
history
diff --git
a/hg2git.py
b/hg2git.py
index
9d832c3
..
1079684
100644
(file)
--- 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)