1

We use hg log -u MyUser.

Is there a way to make this case insensitive? Ie: so hg will return all changesets for MyUser or myuser.

Marcus Leon
  • 55,199
  • 118
  • 297
  • 429

1 Answers1

1

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.

krtek
  • 26,334
  • 5
  • 56
  • 84