Is it possible to configure Mercurial to always check subrepos?
I'd like it enabled all the time without having to specify it on the command each time.
You can use an alias to do this. Add entries to your .hg/hgrc
like:
[alias]
status = status --subrepos
add = add --subrepos
...
And so on for the other subrepo-aware commands that you want. Looking at the help text for hg help subrepos
, that would be add, archive, commit (I'm using v1.8.1 and it commits subrepos by default, but I seem to recall that earlier versions didn't), diff, incoming, outgoing, pull, push, status and update.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With