scripts/get_maintainer.pl: support multiple VCSs - add mercurial
authorJoe Perches <joe@perches.com>
Tue, 15 Dec 2009 02:00:50 +0000 (18:00 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 15 Dec 2009 16:53:29 +0000 (08:53 -0800)
commit60db31ac11e2fa35b1c343e7182fb59452c4e52e
tree18bb51d505c8f92e6331999a1462b5fbde18cf3f
parenta8af2430f3fb997951eff3d0d51cb166b399782b
scripts/get_maintainer.pl: support multiple VCSs - add mercurial

Restructure a bit for multiple version control systems support.

Use a hash for each supported VCS that contains the commands
and patterns used to find commits, logs, and signers.

--git command line options are still used for hg except for
--git-since.  Use --hg-since instead.

The number of commits can differ for git and hg, so --rolestats
might be different.

Style changes: Use common push style push(@foo...), simplify a return

Bumped version to 0.23.

Signed-off-by: Joe Perches <joe@perches.com>
Cc: Marti Raudsepp <marti@juffo.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/get_maintainer.pl