BTW, why would you not want to version-control core.php or database.php?

On Thu, Dec 11, 2008 at 11:25 PM, brian <[email protected]> wrote:
> The contents of the .svn dirs  are modified by Subversion, so it
> wouldn't make sense to try to get it to ignore them. They're full of
> meta-info. .svn/text-base/ contains a clean copy of everything, for
> instance, and it's these files that are compared to your working copy
> in order to discern what's been changed.
>
> One can checkout an entire site without them (say, for uploading to
> production or tarring up an archive) by doing "svn export ..." Note
> that you'll want to export to somewhere other than your working
> directory.
>
> You can also copy a subversion working dir without the .svn dirs by
> using "rsync -C ..."
>
> On Thu, Dec 11, 2008 at 10:26 PM, Ed Howland <[email protected]> wrote:
>>
>> On Thu, Dec 11, 2008 at 8:35 PM, brian <[email protected]> wrote:
>>>
>>> On Thu, Dec 11, 2008 at 2:24 PM, Ed Howland <[email protected]> wrote:
>>>>
>>>> Let me know if you have a different experience.
>>>>
>>>
>>> As Marcus said, it'll be a different experience if the repository is
>>> checked out on a *different machine*.
>>>
>>> Subversion has the capability to handle things like this, though one
>>> needs to set things up for it. Here's  a Cake-specific solution posted
>>> by Andy:
>>>
>>> http://bakery.cakephp.org/articles/view/setting-svn-ignore-properties
>>>
>>
>> Brian, thanks for the link. It's a good idea for the core.php and
>> database.php files as well. BTW, I did test my command and checked it
>> out on another machine and it still worked. Perhaps there is a
>> difference wrt versions of svn?
>>
>> What I didn't know about was the -R (recursive) flag for svn propset.
>> I wanted to make sure that the '.svn' dirs were preserved and thus
>> excluded. But propset must do that already.
>>
>> Ed
>> .
>>
>>
>>> >
>>>
>>
>>
>>
>> --
>> Ed Howland
>> http://greenprogrammer.blogspot.com
>> http://twitter.com/ed_howland
>>
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to