The projects action

23 views
Skip to first unread message

Lu Luo

unread,
Apr 23, 2012, 9:14:28 PM4/23/12
to Repo and Gerrit Discussion
Dear all,
I want to set projects about Automatically resolve conflicts,but i
don't find this setting of all-projects,if i set it one by one,the
product is too large.So i just think if it has a all-projects setting
to help me solve the problem?
Thanks && best regards!
I

Matthias Sohn

unread,
Apr 24, 2012, 2:36:46 AM4/24/12
to Lu Luo, Repo and Gerrit Discussion
2012/4/24 Lu Luo <qq363...@gmail.com>
AFAIK you can't yet inherit that from all-projects at the moment.
As a workaround you may write a script using ls-projects [1]
to iterate the list of projects and follow [2] to configure them.

[2] http://groups.google.com/group/repo-discuss/browse_thread/thread/fe42b29f7707056a/4b0220181f0bf76e?lnk=gst&q=configure+merge+strategy#4b0220181f0bf76e

--
Matthias

Lu Luo

unread,
Apr 24, 2012, 10:00:12 PM4/24/12
to Repo and Gerrit Discussion
Dear Matthias,
I have read the issues.But i can't find the project.conf file.
And i think if use "git config",the setting will be saved into ".git/
conf" file,and also can't find "refs/meta/config".

On Apr 24, 2:36 pm, Matthias Sohn <matthias.s...@googlemail.com>
wrote:
> 2012/4/24 Lu Luo <qq363378...@gmail.com>
>
> > Dear all,
> > I want to set projects about Automatically resolve conflicts,but i
> > don't find this setting of all-projects,if i set it one by one,the
> > product is too large.So i just think if it has a all-projects setting
> > to help me solve the problem?
>
> AFAIK you can't yet inherit that from all-projects at the moment.
> As a workaround you may write a script using ls-projects [1]
> to iterate the list of projects and follow [2] to configure them.
>
> [1]http://gerrit-documentation.googlecode.com/svn/Documentation/2.3/cmd-...
>
> [2]http://groups.google.com/group/repo-discuss/browse_thread/thread/fe42...
>
> --
> Matthias

Matthias Sohn

unread,
Apr 25, 2012, 1:57:18 AM4/25/12
to Lu Luo, Repo and Gerrit Discussion
2012/4/25 Lu Luo <qq363...@gmail.com>

Dear Matthias,
I have read the issues.But i can't find the project.conf file.
And i think if use "git config",the setting will be saved into ".git/
conf" file,and also can't find "refs/meta/config".

you probably didn't fetch this branch, see [1] for detailed instructions
how to edit this. 


--
Matthias
Reply all
Reply to author
Forward
0 new messages