mercurial/commands.py
changeset 1547 4dea10839201
parent 1545 d69070c2547a
child 1550 ccb9b62de892
equal deleted inserted replaced
1546:487e256ad545 1547:4dea10839201
   744         repo.pull(other, heads = revs)
   744         repo.pull(other, heads = revs)
   745 
   745 
   746     f = repo.opener("hgrc", "w", text=True)
   746     f = repo.opener("hgrc", "w", text=True)
   747     f.write("[paths]\n")
   747     f.write("[paths]\n")
   748     f.write("default = %s\n" % abspath)
   748     f.write("default = %s\n" % abspath)
       
   749     f.close()
   749 
   750 
   750     if not opts['noupdate']:
   751     if not opts['noupdate']:
   751         update(ui, repo)
   752         update(ui, repo)
   752 
   753 
   753     d.close()
   754     d.close()