i just need code of specified version of Chromium like r69297 which is the latest dev version of Chrome. i use git so i follow the instruction here:http://code.google.com/p/chromium/wiki/UsingGit however, after i sync all the code, and review the commit log, i can't find this revision! then i thought about tag, and searched here. How to use git to checkout a specified version of Webkit? here i found, but after follow all the steps, and wait for quite a long long time, i still get nothing. does the git repository of chromium keep the tag information? how can i get them? thx
缘由:
chromium现在分四大分支:
canary:最前沿的版本,每日发布,bug比较多,一般不推荐下载,特别是国内使用vpn普通网络不好的情况;
dev:每2星期发布,比较稳定,可以体验新功能和新特性
beta:每周小版本更新,6周大版本更新。比dev稳定,比同期dev版小1个版本号,基本上就是stable的待发版本
statle:比同期dev小2个版本号,2到3周版本更新一次,每6周主版本更新。这是正式发布的版本,推荐使用这个
从chromium39.0.2313.2版本之后的源码不能再通过之前那种gclient config http://*的方式通过制定的版本号(或者默认下载最新)的方式来获取源码了,因为之后的chromium的代码刚好全部迁移到了git管理了,那么通过默认使用fetch chromium,获取到的将是最新的canary版本,怎么获取statle稳定版本呢,可以通过下面的两种方式:
方案1:(方案1本机已经验证没有问题)
mengjianjun:src mengjianjun$ git fetch origin 42.0.2311.153
From https://chromium.googlesource.com/chromium/src
* tag 42.0.2311.153 -> FETCH_HEAD
mengjianjun:src mengjianjun$ git checkout -b my_stable_branch FETCH_HEAD
Checking out files: 100% (28149/28149), done.
Previous HEAD position was b1e4962... Roll src/third_party/WebKit 8e110e4:36757d61 (svn 195456:195459)
Switched to a new branch 'my_stable_branch'
mengjianjun:src mengjianjun$ gclient sync --with_branch_heads
来源自stackoverfloat:
http://stackoverflow.com/questions/4481803/how-to-get-code-of-specified-tag-version-of-chromium-from-git