Show More
@@ -361,13 +361,8 b' def patch(ui, repo, patches, **opts):' | |||||
361 | def pull(ui, repo, source): |
|
361 | def pull(ui, repo, source): | |
362 | """pull changes from the specified source""" |
|
362 | """pull changes from the specified source""" | |
363 | paths = {} |
|
363 | paths = {} | |
364 | try: |
|
364 | for name, path in ui.configitems("paths"): | |
365 | pf = os.path.expanduser("~/.hgpaths") |
|
|||
366 | for l in file(pf): |
|
|||
367 | name, path = l.split() |
|
|||
368 | paths[name] = path |
|
365 | paths[name] = path | |
369 | except IOError: |
|
|||
370 | pass |
|
|||
371 |
|
366 | |||
372 | if source in paths: source = paths[source] |
|
367 | if source in paths: source = paths[source] | |
373 |
|
368 |
General Comments 0
You need to be logged in to leave comments.
Login now