hg-fast-export: add support for -U <addr> option
commit6665bba63353a70a968776cf339e9e813d3fce52
authorKyle J. McKay <mackyle@gmail.com>
Fri, 4 Apr 2014 04:08:18 +0000 (3 21:08 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Wed, 16 Apr 2014 03:03:13 +0000 (15 20:03 -0700)
treeaa82f9f40f118c460b1657bea86bad95c649e602
parentfc972c7a8344d3615f0158b968999809438e390b
hg-fast-export: add support for -U <addr> option

Instead of always using 'devnull@localhost' as the email address
when it is unknown, allow the address to use when the email is unknown
to be specified by the new -U <addr> option.

The default if -U <addr> is not used remains 'devnull@localhost'.

The specified address may be surrounded by optional whitespace and/or
optional '<' and '>'.  The only thing that will cause it to be rejected
is if it's empty (after stripping surrounding "crud" characters and
removing internal '<', '>' and "\n" characters).
hg-fast-export.py
hg-fast-export.sh
hg2git.py