I have several mr configurations in different directories (this helps me to synchronize groups of repositories gradually).
In man mr, it is stated
--config mrconfig
Use the specified mrconfig file. The default is to use both ~/.mrconfig as well as look for a .mrconfig file in the
current directory, or in one of its parent directories."
How can I skip checking all repositories in ~/.mrconfig if I explicitly ask to use another config? I managed to solve that with -n option, like
mr -c mrconfig -t -n 1 status
but -n 1 looks a bit redundant and wrong for such case (I know that I can skip the -t flag with .mrtrust).
~/.mrconfigfile. So, until a better way to do this gets added, I think what you need is to rename~/.mrconfigto~/.mrconfig-global, make it include your other mr config files, and then use-c ~/.mrconfig-globalbut when you want a different set of repos, you can use-cwith the mr config file for the other set. Instead of using-c, you could also make~/.mrconfiga symlink to a mr config file for your "current" subset of repos.config-flexibilitybranch in my fork on github now has a patch that might help with this. I need to audit it for unintended consequences before I can include it in the main version.