convert extension: filemap vs filesize
Mads Kiilerich
mads at kiilerich.com
Fri Oct 15 11:22:14 UTC 2010
On 10/15/2010 10:37 AM, Christian Olrog wrote:
> Hi,
>
> Would it be a big change to add a file size to exclude lines in filemap?
>
> With this in place I assume it would be possible to convert an hg repo
> with lots of big binary history into a new hg repo with less…
I am not sure a hard limit will be very useful. There will always be
exceptions anyway - and what happens if a file starts out small and
suddenly grows over the limit?
Instead I suggest doing something like
find * -size +10M | sed 's,^,exclude ,g' >> filemap
and edit the filemap if needed.
Something like
ls -lrS $(find .hg -type f)
can be handy to see what might have been missed.
/Mads
More information about the Mercurial-devel
mailing list