Chinaunix首页 | 论坛 | 博客
  • 博客访问: 186149
  • 博文数量: 34
  • 博客积分: 869
  • 博客等级: 准尉
  • 技术积分: 375
  • 用 户 组: 普通用户
  • 注册时间: 2012-03-08 15:55
文章分类

全部博文(34)

文章存档

2012年(34)

我的朋友

分类: 项目管理

2012-09-24 11:28:04

repo download platform/frameworks/base 4604/4


repo sync 如果中途断掉,在重新开始不会从断掉的地方开始,而是重新开始

repo status will list change files and git ls-files --others --exclude-standard

.git/info/exclude and .gitignore will continue to check!!!

---------------------------------

Nope.  You are misunderstanding how "repo upload" works. 

You don't upload single changes.  You upload an entire branch. 

If you do this sequence of actions: 

  repo start foo . 
  git commit -a -m A 
  repo upload 
... 
  git commit -a -m B 
  repo upload 

You'll be prompted to upload both A and B, but you are still on the same 
branch, foo.  Upload the branch anyway. Gerrit sorts out duplicates and will 
only create a new change for B.  Unless you've amended A, in which case it 
will also make a new A, because the SHA-1 hash doesn't match to an existing 
change in that project. 

Under Gerrit2 the upload will be more efficient, as the data for A won't 
have to be sent up to Gerrit.  Under Gerrit1 the data for A is sent anyway, 
even though its unnecessary. 

On Tue, Jan 20, 2009 at 11:56, Jean-Baptiste Queru ...@google.com> wrote: 

> I have made a change in one project, repo uploaded it, and I've now 
> made a second change in the same branch (the second one logically 
> follows the first one). 

> repo upload doesn't give me the option of picking only the second 
> change for upload, as I don't have any change in any other projects. I 
> only have a yes/no prompt. 

> Obviously, there's an easy workaround (create a throwaway commit in 
> some other unrelated project, and repo upload will show me the "full" 
> UI in which I can choose individual changes), but I figured I'd 
> mention this. 

> JBQ 

> -- 
> Jean-Baptiste M. "JBQ" Queru 
> Android Engineer, Google. 

------------------------------------

repo sync [project name] repo 一个子project的git仓库.


check the status of repo

----------------------



 More options Jan 24 2009, 5:40 pm
Check  a below list. 
1) check your network status in your office or home. 
    for example, type "#> tcpdump dst host your_ip_address". 

2)  remove ./.*** directory , and then retry 
    #> rm -rf  ./.repo  and ./.git 
    #> time strace repo init -u 
git://android.git.kernel.org/platform/manifest.git 


---------------------------------------------





refs/changes/${change_id % 100}/${change_id}  这个gerrit上面的changeid 可是为什么要changeid%100 真的是不知道做社么,可能跟object一样是用来做索引的。

阅读(988) | 评论(0) | 转发(0) |
0

上一篇:build option

下一篇:linux command question

给主人留下些什么吧!~~