1) Remember your ChangeId is how repo/gerrit knows if the CL is new or
not. The ChangeId has to be in the last paragraph. (See
http://gerrit.chromium.org/gerrit/Documentation/user-changeid.html)
2) Once you repo upload a change repo sync will not rebase the change
automatically and will warn you. You will have to "repo rebase -i" to
rebase your change to "top of tree" if the top of tree has moved since
your last sync
(See http://groups.google.com/group/repo-discuss/web/repo-gerrit-git-workflow)
3) Using git push to create changes in Gerrit (NOTE:Only for Projects
not in the repo manifest or special branches e.g: manifest.git or
manifest-internal.git)
git push ssh://sshusername@hostname:29418/projectname HEAD:refs/for/branchname
(See http://gerrit.chromium.org/gerrit/Documentation/user-upload.html)
4) Merge if CL applies cleanly. (We are experimenting with using allowing
a change to go in if it merges cleanly). This prevents unnecessary
rebases in fast moving repos like chromiumos-overlay.git (sidenote: we
are trying to move autogenerated code to another repo).
There is a concern of commits showing up as merges, but you can still
find the original commit so it may be ok. This can be turned on/off on
a per project basis. Ideas/Comments/Bikeshedding welcome :)
Please update documentation and email links to any tips you have to share.
Please update documentation and email links to any tips you have to share.
--
Chromium OS Developers mailing list: chromiu...@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-os-dev?hl=en
On Wed, May 4, 2011 at 10:26 AM, Anush Elangovan(அனுஷ்) <an...@chromium.org> wrote:
4) Merge if CL applies cleanly. (We are experimenting with using allowing
a change to go in if it merges cleanly). This prevents unnecessary
rebases in fast moving repos like chromiumos-overlay.git (sidenote: we
are trying to move autogenerated code to another repo).
There is a concern of commits showing up as merges, but you can still
find the original commit so it may be ok. This can be turned on/off on
a per project basis. Ideas/Comments/Bikeshedding welcome :)I disagree, especially for fast-moving repo that everybody touches, like chromiumos-overlay, because merges make bisecting becomes very hard (non-linear history).
Olof - Once you report back on the success of it, I can switch it to
using cherry-pick.
Anush
>
>
> -Olof