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:
8d433b8
)
Don't restore checkpoint count from cache
author
Rocco Rutte
<pdmef@gmx.net>
Wed, 7 Mar 2007 11:06:34 +0000
(11:06 +0000)
committer
Rocco Rutte
<pdmef@gmx.net>
Wed, 7 Mar 2007 11:06:34 +0000
(11:06 +0000)
It doesn't make sense as each run of git-fast-import starts a new pack
anyways.
Signed-off-by: Rocco Rutte <pdmef@gmx.net>
hg2git.py
patch
|
blob
|
history
diff --git
a/hg2git.py
b/hg2git.py
index
4d67d9b
..
8f2ee22
100644
(file)
--- a/
hg2git.py
+++ b/
hg2git.py
@@
-254,7
+254,7
@@
if __name__=='__main__':
if _max<0:
max=tip
- c=
int(state_cache.get('count',0))
+ c=
0
last={}
for rev in range(min,max):
c=export_commit(ui,repo,rev,marks_cache,heads_cache,last,tip,c)
@@
-262,6
+262,5
@@
if __name__=='__main__':
c=export_tags(ui,repo,marks_cache,c)
state_cache['tip']=max
- state_cache['count']=c
state_cache['repo']=repourl
save_cache(tipfile,state_cache)