开发者

TortoiseHG Update Remote Repository

I have recently added several projects to an existing rep开发者_如何学JAVAository 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?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜