aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/storage/vcs/base.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-12-29 21:17:39 -0500
committerW. Trevor King <wking@drexel.edu>2009-12-29 21:17:39 -0500
commit07ee90254ce64ec734dacebea715a0b7a24599af (patch)
tree1d7431a16c0beb1b01d5da69f9d979670b715956 /libbe/storage/vcs/base.py
parentb1540a08131173ace920f2d3d0829e54b8f26283 (diff)
downloadbugseverywhere-07ee90254ce64ec734dacebea715a0b7a24599af.tar.gz
Use ._vcs_is_versioned() in VCS._children()
Otherwise Arch will return '.arch-ids' in its list, etc.
Diffstat (limited to 'libbe/storage/vcs/base.py')
-rw-r--r--libbe/storage/vcs/base.py3
1 files changed, 3 insertions, 0 deletions
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)