Chromium Code Reviews| Index: gclient_scm.py |
| diff --git a/gclient_scm.py b/gclient_scm.py |
| index c0b4a325e9262c49df14e7d4c5356a7de430f2c6..80a6f0b954050ffe1e55668fddfe1ab5535376fb 100644 |
| --- a/gclient_scm.py |
| +++ b/gclient_scm.py |
| @@ -342,7 +342,7 @@ class GitWrapper(SCMWrapper): |
| rev_type = "branch" |
| elif revision.startswith(self.remote + '/'): |
| # For compatibility with old naming, translate 'origin' to 'refs/heads' |
|
ghost stip (do not use)
2014/04/21 21:26:57
you should change this comment to reflect the new
smut
2014/04/21 21:28:43
This comment is no longer applicable.
agable
2014/04/21 21:31:22
Done.
|
| - revision = revision.replace(self.remote + '/', 'refs/heads/') |
| + revision = 'refs/remotes/' + revision |
| rev_type = "branch" |
| else: |
| # hash is also a tag, only make a distinction at checkout |