martinvonz added a comment.

  I wonder if we should instead have a --draft option for this. Reasons:
  
  - If we ever add a fourth phase (like Jun's proposed "archived" phase), then 
--no-secret doesn't clearly indicate "draft", it could just as well be 
"archived".
  - Actually, we of course already do have a third phase. One could imagine a 
"hg commit --public", although that's probably not useful enough to warrant its 
own option, but it seems to suggest that "--no-secret" doesn't necessarily mean 
"draft".
  - I find this tri-state boolean weird. "--secret" kind of defaults to off, 
but it can be made "more off" with "--no-secret".

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D2013

To: spectral, #hg-reviewers
Cc: martinvonz, mercurial-devel
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to