Make hg log case insensitive?
We use hg log -u MyUser
.
Is there a way to make this cas开发者_开发百科e insensitive? Ie: so hg will return all changesets for MyUser or myuser.
I don't think there's a way to make the option case insensitive, but you can specify multiple user on the command line :
hg log -u MyUser -u myuser -u Myuser -u myUser
I admit this is a little bit tedious, but you can create an alias if you have to type the command many times. Add this to your hgrc file for example :
[alias]
mylog = log -u MyUser -u myuser -u Myuser -u myUser
You can now use hg mylog
insteand of the entire expression.
精彩评论