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
+++ b/mercurial/localrepo.py
@@ -39,9 +39,6 @@ class localrepository:
         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: