"hg archive" with remote URL
Mutlu Dogruel
mutludogruel at gmail.com
Fri Aug 9 16:12:06 UTC 2013
On 9 Aug 2013, at 17:02, Brian Visel <aeon.descriptor at gmail.com> wrote:
> Do you mean that you need something like this?
>
> hg archive --type tgz - | ssh user at dest.example.com tar -xz -C /tmp/
>
>
Something similar to that, but your command won't work, as the command "hg archive" does not work if there is no existing hg repo where the command was issued. As in my original post, the git way of doing it:
git archive --remote=ssh://git <at> bitbucket.org/username/reponame.git --format=tar
--output="file.tar" master
More information about the Mercurial
mailing list