mercurial/util.py
changeset 6166 f857eac30cd5
parent 6153 09a8be3e5bfb
child 6212 e75aab656f46
--- a/mercurial/util.py	Fri Feb 22 21:58:15 2008 +0100
+++ b/mercurial/util.py	Thu Feb 21 20:56:06 2008 +0100
@@ -1709,6 +1709,9 @@
         if '.hg' in dirs:
             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')):
+                yield qroot # we have a patch queue repo here
 
 _rcpath = None