Ticket #336: 336.patch
| File 336.patch, 1.5 kB (added by Ben, 5 months ago) |
|---|
-
a/buildbot/slave/commands.py
old new 1827 1827 else: 1828 1828 head = 'FETCH_HEAD' 1829 1829 1830 command = ['git -reset', '--hard', head]1830 command = ['git', 'reset', '--hard', head] 1831 1831 c = ShellCommand(self.builder, command, self._fullSrcdir(), 1832 1832 sendRC=False, timeout=self.timeout) 1833 1833 self.command = c 1834 1834 return c.start() 1835 1835 1836 1836 def doVCUpdate(self): 1837 command = ['git -fetch', self.repourl, self.branch]1837 command = ['git', 'fetch', self.repourl, self.branch] 1838 1838 self.sendStatus({"header": "fetching branch %s from %s\n" 1839 1839 % (self.branch, self.repourl)}) 1840 1840 c = ShellCommand(self.builder, command, self._fullSrcdir(), … … 1850 1850 1851 1851 def doVCFull(self): 1852 1852 os.mkdir(self._fullSrcdir()) 1853 c = ShellCommand(self.builder, ['git -init'], self._fullSrcdir(),1853 c = ShellCommand(self.builder, ['git', 'init'], self._fullSrcdir(), 1854 1854 sendRC=False, timeout=self.timeout) 1855 1855 self.command = c 1856 1856 d = c.start() … … 1859 1859 return d 1860 1860 1861 1861 def parseGotRevision(self): 1862 command = ['git -rev-parse', 'HEAD']1862 command = ['git', 'rev-parse', 'HEAD'] 1863 1863 c = ShellCommand(self.builder, command, self._fullSrcdir(), 1864 1864 sendRC=False, keepStdout=True) 1865 1865 c.usePTY = False
![[Buildbot Logo]](/trac/chrome/site/header-text-transparent.png)