# HG changeset patch # User Peter Arrenbrecht # Date 2008-02-21 19:56:06 # Node ID f857eac30cd54fc2249c8044388718687df7bed5 # Parent 0d36de68669c81390eb64c9dd81af16f2c7f3ef6 util: make walkrepos() return .hg/patches if present diff --git a/mercurial/util.py b/mercurial/util.py --- a/mercurial/util.py +++ b/mercurial/util.py @@ -1709,6 +1709,9 @@ def walkrepos(path): 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