##// END OF EJS Templates
Check for patches repo with os.path.isdir not os.path.exists
Eric Hopper -
r6267:d036ea71 default
parent child Browse files
Show More
@@ -1713,7 +1713,7 b' def walkrepos(path):'
1713 dirs[:] = [] # don't descend further
1713 dirs[:] = [] # don't descend further
1714 yield root # found a repository
1714 yield root # found a repository
1715 qroot = os.path.join(root, '.hg', 'patches')
1715 qroot = os.path.join(root, '.hg', 'patches')
1716 if os.path.exists(os.path.join(qroot, '.hg')):
1716 if os.path.isdir(os.path.join(qroot, '.hg')):
1717 yield qroot # we have a patch queue repo here
1717 yield qroot # we have a patch queue repo here
1718
1718
1719 _rcpath = None
1719 _rcpath = None
General Comments 0
You need to be logged in to leave comments. Login now