[cig-commits] commit: Search for repositories under .hg too (primarily for mq)

Mercurial hg at geodynamics.org
Mon Nov 24 11:26:49 PST 2008


changeset:   13:a02bfecb4905
user:        Brendan Cully <brendan at kublai.com>
date:        Tue Oct 24 17:32:32 2006 -0700
files:       forest.py
description:
Search for repositories under .hg too (primarily for mq)


diff -r 5af4dc9d62bf -r a02bfecb4905 forest.py
--- a/forest.py	Mon Oct 23 19:58:33 2006 +0200
+++ b/forest.py	Tue Oct 24 17:32:32 2006 -0700
@@ -61,8 +61,7 @@ def enumerate_repos(top=''):
                 continue
             if e == '.hg':
                 yield util.normpath(root)
-            else:
-                dirs.append(path)
+            dirs.append(path)
 
 
 def mq_patches_applied(rootpath):



More information about the CIG-COMMITS mailing list