01.Push / Pull


Server sied


$ vi .hg/hgrc
[web]
push_ssl = false
allow_push = *



Client


# hg push
# hg pull



Branch



查詢當前 branch
$ hg branch
develop


切換 branch
# hg update /branchName/ 
  • eclipse: Team -> Switch To ...

abort: push creates new remote branches: develop!
(use 'hg push --new-branch' to create new remote branches)
$ hg push --new-branch https://kuochaoyi@bitbucket.org/kuochaoyi/projectsample



Merge



develop(tip) --> default
  • eclipse: Team -> Merge ...



Tag



# hg tag 0.1.8
# hg tags
# hg update -r [tagName]






Comments