Call for discussion: Phase names

Pierre-Yves David pierre-yves.david at ens-lyon.org
Thu Jan 12 02:28:18 CST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


On 10 janv. 2012, at 13:01, Levi Bard wrote:

>> However, by that logic, "public" could be improved to highlight the
>> distinguishing property (immutability). Maybe permanent/draft/local?
> 
> Continuing that logic, why not just call them "immutable" ?
> For one thing, it will short-circuit the billion instances of the
> following exchange:
> "Hey, what's the difference between public and draft changesets?"
> "Public changesets are immutable."
> 
> Going farther, what about immutable / mutable / whatever ?

Having the same name for property and phase does not look a good idea.

Phase are not expected to receive significant change while the property name are expected to be alterable by extension or later mechanism. As Highlighted during the sprint several use case may lead to the same kind of behavior (immutable, shared) without using phase directly.

	For example I expect he obsolete concept to control the sharing of changeset with a different logic than the phase one[1].

Having the same name for phase and property will lead to confusion.

- -- 
Pierre-Yves David

[1] But quite similar as you won't exchange a changeset without it's parent.


-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQIcBAEBAgAGBQJPDpmwAAoJELAL+T1/FX64q6AP/1BVo/0lCyrHMll4YzTMkZKD
j+jt8dEV/ZnlJUzGguw+k5NMnm9sxO168we54k6a9RFTnLjB7LnaVuxpNrwKk/zS
52mc67MDG8jRZQbcaIKRiPeZRKauI25WqlEz8QxvRqw7Q/Us9Bb4MeUAZOKNJOtZ
c+Dvsj/WP46noPklEnv2hKnwc+1OIMMx3hrOv/HcYMle540Wc6VQ16NjWLakFuVu
XlynOSpQE7GY9yzvxvT/eA1CyZh89zr8sK2Zg4C6OExskur1lTT8j+66n/dfbUqL
XsEKymIK2JZKY8hWbZ/KcLfmL0c394mAOdtC2C72XIpNehanmroVYOTNZp2vuH9e
jlnUVaLfrI4BxIil7wu3XKcMovSUl2SjPn5VRBP87VndAHznQIoqfz0MVAP/lXGR
JiJcPWBvBOQ/KCdGFlQKepvyXtFQMTNZpQIy7WDE7Z+okDWpUHXRyqAf1Av9zPHk
94R74nv30ABl5sPbWITn/OAwhwLRNLC0NpStoS5rdi5KFPUT2DXyI9p86TpQbXuK
BzfCJiI8tErs4aasTzru/73TRvmBl8Qw++3moL2i5SHPt3qLIORPIsLlqzBfKQqn
7ynnZj3o9kiEcjdQ2XNglxmZXBOs7qbQKUMCQHoNwL7HGr/WsmjcRGLLRNVUzKvd
Ac3fNagEj4WUGHwr4hIg
=c8te
-----END PGP SIGNATURE-----


More information about the Mercurial-devel mailing list