diff -r 92525920ad29 -r 899b619a7eb2 mercurial/commands.py --- a/mercurial/commands.py Sun Aug 28 18:13:28 2005 +0200 +++ b/mercurial/commands.py Sun Aug 28 18:27:24 2005 +0200 @@ -587,8 +587,8 @@ repo = hg.repository(ui, dest, create=1) repo.pull(other) - f = repo.opener("hgrc", "w") - f.write("[paths]\n") + f = repo.opener("hgrc", "a") + f.write("\n[paths]\n") f.write("default = %s\n" % abspath) if not opts['noupdate']: