comparison mercurial/commands.py @ 20664:6ed183760e70

config: clarify and exemplify the user name in the sample config file
author Jordi Gutiérrez Hermoso <jordigh@octave.org>
date Fri, 07 Mar 2014 14:29:26 -0500
parents 19e9478c1a22
children 945bc5497e6d
comparison
equal deleted inserted replaced
20660:19e9478c1a22 20664:6ed183760e70
1492 fp = open(f, "w") 1492 fp = open(f, "w")
1493 fp.write( 1493 fp.write(
1494 '# example config (see "hg help config" for more info)\n' 1494 '# example config (see "hg help config" for more info)\n'
1495 '\n' 1495 '\n'
1496 '[ui]\n' 1496 '[ui]\n'
1497 '# set this to your full email address\n' 1497 '# name and email, e.g.\n'
1498 '# username = Jane Doe <jdoe@example.com>\n'
1498 'username =\n' 1499 'username =\n'
1499 '\n' 1500 '\n'
1500 '[extensions]\n' 1501 '[extensions]\n'
1501 '# uncomment these lines to enable some popular extensions\n' 1502 '# uncomment these lines to enable some popular extensions\n'
1502 '# (see "hg help extensions" for more info)\n' 1503 '# (see "hg help extensions" for more info)\n'