>I initialized a Mercurial project on Machine A, submitted my changes and uploaded them to the remote Repository.
>Then I cloned the repository on machine B, submitted some other changes and uploaded them to the same remote repository.
In both cases, I I uploaded the changes using the same command:
hg push https://username:password@domain/user/repository/
Now I am back to the machine A, I don’t know how to update my local repository with the latest changes uploaded from machine B to the remote repository.
The command hg clone or hg pull may seem to work, but I am not sure.< /p>
Any guidance would be greatly appreciated. Thank you.
I am new to Mercurial.
< p>>I initialized a Mercurial project on Machine A, submitted my changes and uploaded them to the remote repository.
>Then I cloned the repository on Machine B, submitted some other changes and put They are uploaded to the same remote repository.
In both cases, I uploaded the changes using the same command:
hg push https ://username:password@domain/user/repository/
Now I am back to machine A, I don’t know how to update my local repository with the latest changes uploaded from machine B to the remote repository .
The command hg clone or hg pull may seem to work, but I am not sure.
Any guidance would be greatly appreciated. Thank you.
hg pull will transfer any remote changesets that do not exist in the local repository. After that, depending on the existence of local changes, you need hg update or hg merge.