/loggerhead/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/loggerhead/trunk

« back to all changes in this revision

Viewing changes to loggerhead/controllers/directory_ui.py

  • Committer: Martin Albisetti
  • Date: 2009-06-08 23:02:49 UTC
  • mfrom: (352.6.13 serve-config)
  • Revision ID: martin.albisetti@canonical.com-20090608230249-8a05ifphj4zluly2
Allow hiding branches with serve-branches, now checks in ~/.bazaar/locations.conf

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
        for d in listing:
73
73
            try:
74
74
                b = branch.Branch.open_from_transport(self.transport.clone(d))
 
75
                if b.get_config().get_user_option('http_serve') == 'False':
 
76
                    continue
75
77
            except:
76
78
                try:
77
79
                    if not stat.S_ISDIR(self.transport.stat(d).st_mode):