From ebbcff7f7a99eec8075d67cba18e349562507513 Mon Sep 17 00:00:00 2001 From: Sebastian Hahn Date: Tue, 11 Aug 2009 11:34:33 +0200 Subject: Allow tracking all bundles in the repository with thandy-client thandy-client now allows passing ** instead of a path for bundles. This is treated as a special case, other wild card or regular expression matching is not included. --- lib/thandy/repository.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/thandy/repository.py') diff --git a/lib/thandy/repository.py b/lib/thandy/repository.py index 6d1ece3..af20904 100644 --- a/lib/thandy/repository.py +++ b/lib/thandy/repository.py @@ -394,6 +394,9 @@ class LocalRepository: # Okay; that's it for the metadata. Do we have the right # bundles? bundles = {} + if len(trackingBundles) == 1 and trackingBundles[0] == "**": + trackingBundles = ts.getBundleInfos() + for b in trackingBundles: try: binfo = ts.getBundleInfo(b) -- cgit v1.2.3