From 07ee90254ce64ec734dacebea715a0b7a24599af Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 29 Dec 2009 21:17:39 -0500 Subject: [PATCH] Use ._vcs_is_versioned() in VCS._children() Otherwise Arch will return '.arch-ids' in its list, etc. --- libbe/storage/vcs/base.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libbe/storage/vcs/base.py b/libbe/storage/vcs/base.py index 6ece16d..b47ed2f 100644 --- a/libbe/storage/vcs/base.py +++ b/libbe/storage/vcs/base.py @@ -760,6 +760,9 @@ os.listdir(self.get_path("bugs")): listdir(os.path.join(path, c))]) elif c in ['id-cache', 'version']: children[i] = None + elif self.interspersed_vcs_files \ + and self._vcs_is_versioned(c) == False: + children[i] = None for i,c in enumerate(children): if c == None: continue cpath = os.path.join(path, c) -- 2.26.2