Chromium Code Reviews| Index: gclient_scm.py |
| diff --git a/gclient_scm.py b/gclient_scm.py |
| index 211aa473792fa4d218c6ab8cddc09b96bc837a99..7bcbde8822d857b2959d076cace05c66128a985c 100644 |
| --- a/gclient_scm.py |
| +++ b/gclient_scm.py |
| @@ -500,6 +500,9 @@ class GitWrapper(SCMWrapper): |
| scm.GIT.IsGitSvn(cwd=self.checkout_path)): |
| local_head = scm.GIT.GetGitSvnHeadRev(cwd=self.checkout_path) |
| if not local_head or local_head < int(rev): |
| + if scm.GIT.Capture(['config', '--get', 'svn-remote.svn.fetch'], |
| + cwd=self.checkout_path).startswith('trunk/src:'): |
|
M-A Ruel
2012/02/10 15:53:02
remove the ".startswith('trunk/src:')" and just lo
Dan Beam
2012/02/10 21:59:49
Done.
|
| + scm.GIT.Capture(['fetch'], cwd=self.checkout_path) |
| if options.verbose: |
| print('Running git svn fetch. This might take a while.\n') |
| scm.GIT.Capture(['svn', 'fetch'], cwd=self.checkout_path) |