Don't restore checkpoint count from cache

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>
This commit is contained in:
Rocco Rutte
2007-03-07 11:06:34 +00:00
parent 8d433b85c2
commit 2b319f9de4

View File

@@ -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)