On Wed, Jun 11, 2008 at 9:51 AM, Ian Bicking <[EMAIL PROTECTED]> wrote:
>
> Jean Parpaillon wrote:
>> Hi all,
>> When using paster make-config, generated file is automatically added to svn.
>> Is there a way to disable it ? Why is it the default behaviour ? (Generated
>> files are usually not versioned !)
>
> paster automatically adds files to svn when the containing directory is
> an svn checkout.  I never really considered that this would happen with
> make-config; you can control it with ensure_file(svn_add=False).
>
> Though the file is initially generated, it's intended to be hand-edited
> and is just a starting point.  It's not a generated file in the style of
> a .pyc file.

When Paste generates something for me, I immediately check it in.  I
use the command used to generate the file as my svn comment.  Later,
when I check in changes to the file, I can use diff to see how I've
changed the default.

This comes in handy if you need to do a three way merge between how
Pylons/Paste used to generate something, how it generates something
now that it's been updated, and the file that you currently have.

-jj

-- 
I, for one, welcome our new Facebook overlords!
http://jjinux.blogspot.com/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to