The mercurial bundle I want to clone from is compressed in 7zip format and I don't want to waste time extracting the gigantic bundle to a temporary file. How do I pass the output of 7za to hg to clone? I tried passing the pipe as a file as suggested by information from this question like

hg clone <(7za x bundle.hg.7z)

but I get an error message like

abort: repository /dev/fd/63 not found!

1 Answer 1


It appears that clone doesn't like the pipes, but the unbunble command seems to be more friendly. You just need to create the destination repository and unbundle to it.

mkdir repo
cd repo
hg init
hg unbundle <(7za x bundle.hg.7z -so)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .