Lines Matching refs:subdir
83 self.subdir = json['subdir'] if ('subdir' in json) else '.'
95 remotes = command_output(['git', 'remote'], self.subdir).splitlines()
97 command_output(['git', 'remote', 'add', 'known-good', self.GetUrl()], self.subdir)
103 cwd=self.subdir)
106 os.makedirs(self.subdir, exist_ok=True)
107 command_output(['git', 'clone', self.GetUrl(), '.'], self.subdir)
110 command_output(['git', 'fetch', 'known-good'], self.subdir)
113 if not os.path.exists(os.path.join(self.subdir,'.git')):
118 command_output(['git', 'checkout', self.commit], self.subdir)
145 for c in sorted(commits, key=lambda x: x.subdir):