开发者

Make hg log case insensitive?

开发者 https://www.devze.com 2023-03-08 07:19 出处:网络
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 in

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消