Mercurial > hg-stable
comparison mercurial/commands.py @ 1133:899b619a7eb2
Create [web] section with short username as contact on hg init and hg clone.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Sun, 28 Aug 2005 18:27:24 +0200 |
parents | ee4f60abad93 |
children | d32b91ebad5d |
comparison
equal
deleted
inserted
replaced
1132:92525920ad29 | 1133:899b619a7eb2 |
---|---|
585 | 585 |
586 else: | 586 else: |
587 repo = hg.repository(ui, dest, create=1) | 587 repo = hg.repository(ui, dest, create=1) |
588 repo.pull(other) | 588 repo.pull(other) |
589 | 589 |
590 f = repo.opener("hgrc", "w") | 590 f = repo.opener("hgrc", "a") |
591 f.write("[paths]\n") | 591 f.write("\n[paths]\n") |
592 f.write("default = %s\n" % abspath) | 592 f.write("default = %s\n" % abspath) |
593 | 593 |
594 if not opts['noupdate']: | 594 if not opts['noupdate']: |
595 update(ui, repo) | 595 update(ui, repo) |
596 | 596 |