/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

Check for info/refs first (fixes xwax repo)

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_any([OBJECTDIR, REFSDIR, "info/refs"]):
 
288
            elif self.transport.has_any(["info/refs", OBJECTDIR, REFSDIR]):
289
289
                self.bare = True
290
290
                self._controltransport = self.transport
291
291
            else: