view tests/test-phases.t @ 15659:7fba5a245acc

phases: change publish behavior to only alter behavior when server. Older publish=True was: 1) Content of Publishing server are seen as public by client. 2) Any changegroup *added* to a publish=True server is public. New definition are: 1) Content of Publishing server are seen as public by client. 2) Any changegroup *pushed* to a publish=True server is public. See mercurial/phase.py documentation for exact final behavior
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Thu, 15 Dec 2011 23:08:09 +0100
parents 9ae766f2f452
children 1e4e49c58b94
line wrap: on
line source

  $ alias hglog='hg log --template "{rev} {phase} {desc}\n"'

  $ hg init initialrepo
  $ cd initialrepo
  $ touch sam
  $ hg add sam
  $ hg ci -m 'first'

  $ hglog
  0 1 first