Raz
Raz

Reputation: 682

clone mercurial repository to remote machine

is there any way to clone my mercurial repository to a separate machine ? (might be a silly question, but i'm pretty new to mercurial )

i want to clone the whole repository from a CentOS machine to an Ubuntu machine for some testing and i don't want to mess anything up on my working machine

Upvotes: 0

Views: 205

Answers (2)

Lissandro Sosa
Lissandro Sosa

Reputation: 11

Of Course, Go to the the Ubuntu Machine, install Mercurial, and clone your repository in the CentOs Machine from the Ubuntu machine.

Now you have a clone repository from the CentOS in another Machine, make your changes in the Ubuntu Machine, if you agreed with the changes, then push the Changes to remote repository(CentOs Machine).

Upvotes: 0

struct
struct

Reputation: 604

If you have SSH access, can go

tar c '/path/to/your/repository' | ssh username@somemachine 'tar x'

That will get the repository and the current working directory over there.

Upvotes: 1

Related Questions