mirror of
				https://github.com/frej/fast-export.git
				synced 2025-10-31 16:35:48 +01:00 
			
		
		
		
	hg-fast-export: Catch up with mercurial crew API changes
Signed-off-by: Rocco Rutte <pdmef@gmx.net>
This commit is contained in:
		| @@ -330,7 +330,10 @@ def hg2git(repourl,m,marksfile,headsfile,tipfile,authors={},sob=False,force=Fals | |||||||
|   if not verify_heads(ui,repo,heads_cache,force): |   if not verify_heads(ui,repo,heads_cache,force): | ||||||
|     return 1 |     return 1 | ||||||
|  |  | ||||||
|   tip=repo.changelog.count() |   try: | ||||||
|  |     tip=repo.changelog.count() | ||||||
|  |   except AttributeError: | ||||||
|  |     tip=len(repo) | ||||||
|  |  | ||||||
|   min=int(state_cache.get('tip',0)) |   min=int(state_cache.get('tip',0)) | ||||||
|   max=_max |   max=_max | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user