Having read this past question for git, I would like to ask if there exists something like that, but
- can be done programmatically (file list) on each machine;
- works for Mercurial.
The reason for this is that I would like to include in my public dotfiles repository some configuration files that store password in plaintext. I know I could write a wraparound script for hg(1) but I would like to know if there are alternative approaches, just for the sake of curiosity.
Thank you.