Quite often in Mercurial, I happen to need local changes to a local repository, which should never ever enter the main repository. This could be (not complete list)
- config files which need to differ on my PC
- I want to mark my compilations so that I can distinguish versions compiled by me from official compilations
- hgsub needs to differ on a PC without network access
Using TortoiseHG, my work scheme looks like this at the moment:
- Commit all relevant changes, leaving the changes to kept local uncommited
- Shelve changes to be kept local
- Push or Pull
- Deshelve
This works until I forget to exclude the changes to kept local, which will happen sooner or later... Then I have to waste time to restore the state before.
Is there any way to do this, e.g. by certain extensions?
Thanks for you help