hg way to get just a bundle of a remote repository without applying it

Avi Kelman patcherton.fixesthings at gmail.com
Thu Feb 1 23:35:48 UTC 2018


On Wed, 2018-01-31 at 10:07 -0500, Avi Kelman wrote:
> On Wed, 2018-01-31 at 09:58 -0500, Avi Kelman wrote:
> > On Tue, 2018-01-30 at 11:54 -0600, Kevin Bullock wrote:
> > > > On Jan 25, 2018, at 18:35, Avi Kelman <patcherton.fixesthings at gmail.com
> > > > >
> > > > wrote:
> > > > 
> > > > Hi all. I'm looking for how to do basically the first part of hg clone,
> > > > where a
> > > > bundle file is retrieved over the wire from a remote server, but then
> > > > just
> > > > saving that bundle file
> > > 
> > > You can use 'hg incoming --bundle FILE' for this. You'll need to run it
> > > inside of an empty local hg repo though.
> > 
> > Ok, this sort of works, but...
> > 
> > After downloading, the process for `hg incoming --bundle bundlefile --quiet
> > htt
> > ps://hg.mozilla.org/mozilla-unified/` fills up a whopping 12GB of RAM which
> > is
> > catastrophic to the system.
> > 
> > The whole bundle is only ~5GB uncompressed, and mozilla specifically
> > premakes
> > compressed bundles for clone to fetch quickly.
> > 
> > I'm really looking to just save what clone is downloading and then stop
> > there,
> > even if it means a python script. :\
> 

Ugh. After logging out and back in the RAM problem has stopped happening. I
guess something in my system interfered with the update to 4.5. Sorry for the
spam I guess. Thanks for the help. Does anything control the output bundle
format of hg incoming?
Avi


More information about the Mercurial mailing list