[chromium-dev] Re: Is it possible to do a gclient sync without running hooks?

2009-06-25 Thread Marc-Antoine Ruel

Send patches to gclient.py to 'disable automatic runhooks on sync' to
me. You can hack directly inside your depot_tools and use 'gcl change
bleh' and 'gcl upload bleh --send-mail -r mar...@chromium.org'.

You'll need to update the unit tests.

M-A

On Tue, Jun 23, 2009 at 9:01 PM, Nicolas Sylvainnsylv...@chromium.org wrote:


 On Tue, Jun 23, 2009 at 5:53 PM, Daniel Cowx daniel.c...@gmail.com wrote:

 When I run gclient sync, it automatically runs the hooks; which
 causes various non-versioned files to get generated within my tree
 (most notably *.vcproj and *.sln files, but there may be others). I'd
 like to be able to do a sync *without* generating any files (i.e. so
 that if I do a svn status immediately after a gclient sync, I see
 a pristine unmodified tree). Short of going into src/DEPS and
 commenting out the hooks section, can this be done?

 I don't think we have this capability at this time.
 But in theory if you gclient sync ; svn status you should not see
 anything, since all the
 generated files should be in the svn:ignore. If they are not, then someone
 forgot to add them,
 and we should fix that.
 Nicolas

--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---



[chromium-dev] Re: Is it possible to do a gclient sync without running hooks?

2009-06-23 Thread Nicolas Sylvain
On Tue, Jun 23, 2009 at 5:53 PM, Daniel Cowx daniel.c...@gmail.com wrote:


 When I run gclient sync, it automatically runs the hooks; which
 causes various non-versioned files to get generated within my tree
 (most notably *.vcproj and *.sln files, but there may be others). I'd
 like to be able to do a sync *without* generating any files (i.e. so
 that if I do a svn status immediately after a gclient sync, I see
 a pristine unmodified tree). Short of going into src/DEPS and
 commenting out the hooks section, can this be done?


I don't think we have this capability at this time.

But in theory if you gclient sync ; svn status you should not see
anything, since all the
generated files should be in the svn:ignore. If they are not, then someone
forgot to add them,
and we should fix that.

Nicolas


 


--~--~-~--~~~---~--~~
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev
-~--~~~~--~~--~--~---