Unable to push mercurial repo with large files


#1

Hi Team,

Unable to push a Mercurial repository with large files to New repo in Rhodecode. When I try to push the repo getting below error.

abort: largefile baffc8dbe95b9065426f211e83322dec30aa4e01 missing from store (needs to be uploaded)

Please help to resolve the issue. Thanks in Advance.


#2

You enabled largefiles extension on your repo or globally ?


#3

Hi Marcin,

Largefiles extension enabled in both Mercurial and Rhodecode settings. Thanks


#4

It looks for me that someone send an info about largefiles to the central RhodeCode server and never uploaded it. Could be the case that someone else has this largefile and he didn;t push it ?


#5

We have mercurial repositories with .hglf folder and it has all large files. we are trying to push that repo to new repo in Rhodecode. Seems while pushing Mercurial checking for large files in cache and not finding it and failed push.

We are able to add and commit large files to New repo in Rhodecode. When we are pushing existing repos, facing this issue. Thanks


#6

I think for new repos you need to use the special flag when pushing:
--lfrev REV [+] upload largefiles for these revisions

Did you tried that ?


#7

I am not finding --lfrev REV [+] flag for hg push. hg pull have this flag to pull the large files. Thanks


#8

Please consider updating your hg client to later version. Mine (3.9.1) has this flag.

Cheers


#9

Thanks Marcin, Do we need to add all the large file revision numbers while pushing?