From: W. Trevor King Date: Wed, 30 Dec 2009 02:17:39 +0000 (-0500) Subject: Use ._vcs_is_versioned() in VCS._children() X-Git-Tag: 1.0.0~59^2~52^2~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=07ee90254ce64ec734dacebea715a0b7a24599af;p=be.git Use ._vcs_is_versioned() in VCS._children() Otherwise Arch will return '.arch-ids' in its list, etc. --- 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)