开发者

How get Mercurial changes when I've already used hg clone?

Worked on my repo from work, and hg pushed the changes. Now in my home computer, how do I get the changes I saved from work considering I've already hg cloned the repo about two weeks ago but haven't updated since?

I need something like a hg getchanges or something?

http://bitbucket.org/sergiotap开发者_JS百科ia/sharpdic


hg pull followed by hg update should do the trick.


$ hg pull     # copy changesets from remote default path to local repo
$ hg update   # update working directory

$ hg pull -u  # above two commands in one step

The default path is the 'default' key in the paths section of .hg/hgrc in your repo; see hg help paths for more. Authorization info (required to push to bitbucket) is either stored in that URL (http://user:pass@...) or the auth section of .hg/hgrc or ~/.hgrc.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜