Mercurial > public > mercurial-scm > hg
diff mercurial/localrepo.py @ 1260:4603eef60237
hgweb: use ui:username rather than web:contact
This also removes the creation of .hg/hgrc with web:contact at init time.
author | mpm@selenic.com |
---|---|
date | Thu, 15 Sep 2005 14:05:48 -0500 |
parents | 1945754e466b |
children | 50553b99a5c9 |
line wrap: on
line diff
--- a/mercurial/localrepo.py Thu Sep 15 03:00:10 2005 -0500 +++ b/mercurial/localrepo.py Thu Sep 15 14:05:48 2005 -0500 @@ -39,9 +39,6 @@ if create: os.mkdir(self.path) os.mkdir(self.join("data")) - f = self.opener("hgrc", "w") - f.write("[web]\n") - f.write("contact = %s\n" % ui.shortuser(ui.username())) self.dirstate = dirstate.dirstate(self.opener, ui, self.root) try: