mercurial/commands.py
changeset 286 bd9d1e93f8d6
parent 281 574420507d8c
child 289 266396e32006
--- a/mercurial/commands.py	Wed Jun 08 14:45:06 2005 -0800
+++ b/mercurial/commands.py	Wed Jun 08 14:46:34 2005 -0800
@@ -361,13 +361,8 @@
 def pull(ui, repo, source):
     """pull changes from the specified source"""
     paths = {}
-    try:
-        pf = os.path.expanduser("~/.hgpaths")
-        for l in file(pf):
-            name, path = l.split()
+    for name, path in ui.configitems("paths"):
             paths[name] = path
-    except IOError:
-        pass
 
     if source in paths: source = paths[source]