changeset 14860 | 67add0f24f83 |
parent 14761 | 1a9256cdf10f |
child 14866 | ad6a58581ecd |
--- a/mercurial/dispatch.py Tue Jul 12 16:36:22 2011 -0500 +++ b/mercurial/dispatch.py Tue Jul 12 16:36:34 2011 -0500 @@ -474,7 +474,7 @@ lui = ui.copy() lui.readconfig(os.path.join(path, ".hg", "hgrc"), path) - if rpath: + if rpath and rpath[-1]: path = lui.expandpath(rpath[-1]) lui = ui.copy() lui.readconfig(os.path.join(path, ".hg", "hgrc"), path)