Mercurial > hg
changeset 6267:d036ea711140
Check for patches repo with os.path.isdir not os.path.exists
author | Eric Hopper <hopper@omnifarious.org> |
---|---|
date | Sun, 02 Mar 2008 08:51:02 -0800 |
parents | 9f76df0edb7d |
children | 7e4f66fe964b |
files | mercurial/util.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/util.py Fri Mar 14 21:57:46 2008 -0300 +++ b/mercurial/util.py Sun Mar 02 08:51:02 2008 -0800 @@ -1713,7 +1713,7 @@ dirs[:] = [] # don't descend further yield root # found a repository qroot = os.path.join(root, '.hg', 'patches') - if os.path.exists(os.path.join(qroot, '.hg')): + if os.path.isdir(os.path.join(qroot, '.hg')): yield qroot # we have a patch queue repo here _rcpath = None