diff mercurial/hg.py @ 8814:ab668c92a036

subrepo: add update/merge logic
author Matt Mackall <mpm@selenic.com>
date Mon, 15 Jun 2009 02:45:38 -0500
parents 8bf6eb68ddaf
children e9ef409e6399
line wrap: on
line diff
--- a/mercurial/hg.py	Mon Jun 15 02:45:38 2009 -0500
+++ b/mercurial/hg.py	Mon Jun 15 02:45:38 2009 -0500
@@ -297,6 +297,8 @@
             fp.write("default = %s\n" % abspath)
             fp.close()
 
+            dest_repo.ui.setconfig('paths', 'default', abspath)
+
             if update:
                 dest_repo.ui.status(_("updating working directory\n"))
                 if update is not True: