convert (was: bitbucket and the evil largefile extension)

Uwe Brauer oub at mat.ucm.es
Mon Sep 26 17:03:33 UTC 2016


>>> "Uwe" == Uwe Brauer <oub at mat.ucm.es> writes:

   > Hi
   > I have a repo which uses the largefile extension. I wanted to push it to
   > bitbucket but it was refused with the message
   > repo ....
   > does not appear to be a largefile store


I tried out the convert solution following
https://www.jitbit.com/alexblog/232-removing-files-from-mercurial-history/

The repo in question has one large 18M pdf file
located in
public_html_hg/prepublicaciones/2010/2010-16p.pdf

And an relevant entry in
.hg/store/data/~2ehglf/~2ehglf/prepublicaciones/2010/2010-16p.pdf.i

So I used the following file
# this filemap is used to exclude specific files
exclude "prepublicaciones/2010/2010-16.pdf"

And then I run 
hg convert --filemap map.txt public_html_hg/ public_html_clone/

Alas when I then wanted to push form public_html_clone/

I obtained the same error from bitbucket concerning  the largefile extension. Is there any
solution?

Uwe Brauer 




More information about the Mercurial mailing list