convert
Steve Fink
sphink at gmail.com
Thu Sep 29 19:20:56 UTC 2016
On 09/26/2016 10:03 AM, Uwe Brauer wrote:
>>>> "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?
I don't know, having never used largefiles, but
https://www.mercurial-scm.org/pipermail/mercurial/2012-June/043470.html
suggests that once you've had a largefile in your repo, you'll
permanently have a bit set and you'll need to use lfconvert --to-normal
to get rid of it.
More information about the Mercurial
mailing list