/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to transportgit.py

Support opening of repositories over HTTP where the HTTP server
doesn't allow directory access.

Show diffs side-by-side

added added

removed removed

Lines of Context:
285
285
            if self.transport.has(".git/%s" % OBJECTDIR):
286
286
                self.bare = False
287
287
                self._controltransport = self.transport.clone('.git')
288
 
            elif self.transport.has(OBJECTDIR) or self.transport.has(REFSDIR):
 
288
            elif self.transport.has_any([OBJECTDIR, REFSDIR, "info/refs"]):
289
289
                self.bare = True
290
290
                self._controltransport = self.transport
291
291
            else: