Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

TortoiseHG Update Remote Repository

I have recently added several projects to an existing repository on my local dev box. I periodically synchronize the local repository to a network drive repository. However, the new projects do not automatically show up on the network repo---only the ones that were there when I performed the initial clone.

How do I get the new projects into my network repo?

like image 364
kittyhawk Avatar asked Nov 19 '25 22:11

kittyhawk


1 Answers

You use the 'hg push' command to push changesets from local to remote and use 'hg pull' to pull changesets from remote to local.

Moving the changesets over is sufficient to get the contents there, but if you want to see them in the working directory you hg update.

Also it sounds like you have multiple projects in a single repo. That's the normal setup in subversion, but in Mercurial or git you want separate repositories per project. It's better that way because all changesets/commits span the entire repo and it's not possible to hg update or hg clone only a portion of the repo like it is with svn.

like image 166
Ry4an Brase Avatar answered Nov 22 '25 04:11

Ry4an Brase



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!