push error: remote: abort: No such file or directory: /tmp/hg-unbundle-e4YkMW
Adrian Buehlmann
adrian at cadifra.com
Sun May 4 14:23:55 CDT 2008
On 04.05.2008 20:18, Chris Peterson wrote:
> I have a small hg repo hosted on a remote Linux server (that I do not
> admin). I added some big binary files to my local repo clone: 2 GBs of
> files, some 10+ MB. The local commit succeeded, but when I try to push
> the changeset to my remote repo (using ssh) I get the following error
> message:
>
> remote: abort: No such file or directory: /tmp/hg-unbundle-e4YkMW
It seems that temp file could get very large in your case.
How much free disk space is available on /tmp on that remote server?
Instead of direct pushing over the net, you could create a bundle file locally
(see hg help bundle) and transfer that manually to the server
side and then use hg pull from that bundle there (see hg help pull):
On local:
$ cd local-repo-dir
$ hg bundle bundle.hg remote-repo-url
creates local file bundle.hg that contains the changesets that
are missing in the remote repo. Then on remote do:
$ cd remote-repo-dir
$ hg pull bundle.hg
The bundle file is compressed, so this is very efficient.
More information about the Mercurial
mailing list