Show More
@@ -474,7 +474,7 b' def _getlocal(ui, rpath):' | |||||
474 | lui = ui.copy() |
|
474 | lui = ui.copy() | |
475 | lui.readconfig(os.path.join(path, ".hg", "hgrc"), path) |
|
475 | lui.readconfig(os.path.join(path, ".hg", "hgrc"), path) | |
476 |
|
476 | |||
477 | if rpath: |
|
477 | if rpath and rpath[-1]: | |
478 | path = lui.expandpath(rpath[-1]) |
|
478 | path = lui.expandpath(rpath[-1]) | |
479 | lui = ui.copy() |
|
479 | lui = ui.copy() | |
480 | lui.readconfig(os.path.join(path, ".hg", "hgrc"), path) |
|
480 | lui.readconfig(os.path.join(path, ".hg", "hgrc"), path) |
General Comments 0
You need to be logged in to leave comments.
Login now