Search code examples
mercurialtortoisehg

secret phase of mercurial commit pushed to remote in tortoisehg


I often make minor cosmetic re-formatting changes to code, which some people find only aesthetically pleasing and not worth doing and committing and pushing...

If I designate such local commits as secret and then push them to remote, will other developers be able to see these commits when they pull? Or will they only see the final code?


Solution

  • As far as I'm aware, the whole point of commits marked as secret, is that they can't be pushed to the server.

    If you are going to make local changes, then I suspect you will have to keep rebasing the local only ones on top of your other work.