Re: Tools for merging directories

2008-06-06 Thread David Zentgraf

Oh, of course, deleting them in the Finder shouldn't be too hard. I
was too fixated on the CLI. I'll try it when I get home.

On 6/6/08, Grant Cox [EMAIL PROTECTED] wrote:

 I was about to reply with something glib - since all you want to do is
 list all files in the folder (recursively), select them and delete
 (trivial with Windows Explorer).  However I had a chat with one of our
 Mac guys here, and we couldn't figure it out in Finder / Spotlight.
 How do you list all files in spotlight?

 Similarly, the next step requires you copy (or export) into this
 skeleton folder structure, so you can re-commit.  However, on a Mac it
 will not insert these files into the tree - it'll delete the existing
 tree and replace it completely.  Again, coming from Windows this is
 very surprising, and annoying behaviour.

 I'm a bit short of time to experiment, as I'm sure you'd be able to
 use the command line del in a similar manner (delete all files,
 leave all folders).  And of course you can use the tar/untar method to
 insert files into a tree.  But I agree, on a Mac this method is far
 more tedious than it needs to be.


 On Jun 5, 6:17 pm, David C. Zentgraf [EMAIL PROTECTED] wrote:
 HiGrant,

 I read the SVN book vendor branching article in the meantime and agree
 with your points.
 Quite a lot of dilemmas that can pop up.

 What I'm still not sure about is how to best update the /vendors/
 current directory. Your article only covers the Windows del command.
 Are there equivalent flags for UNIX' rm to remove all files throughout
 a directory tree, excluding .svn dirs? I guess I could come up with a
 script for that, but my shell foo is just limited enough to repeatedly
 shoot myself in the foot before getting it right. Maybe. ;o)

 I guess I'd still have to use a Merge utility for that.

 Is anybody using the svn_load_dirs.pl script?

 On 5 Jun 2008, at 16:52,GrantCoxwrote:



  Yes, with vendor branching you basically create a diff of the changes
  to the CakePHP core, then apply that to your own copy.  Do you have a
  File/Folder merge utility that can do this - compare between the
  original core, the new core, and your application core?  Because just
  comparing between the new core and your application core will not make
  your own changes obvious - if you have made any changes to the core
  (what about /app/config/core.php, or /app/webroot/index.php ?).

  Using vendor branching, I can update the cake core in my application
  within 60 seconds (SVN update to newest core, replace into my own
  repository, commit my own repository, perform merge on application).
  And my core changes (of which I have about a dozen, generally
  associated to outstanding enhancement tickets), are safe - I only have
  to look at conflicts if there are any.

  Without vendor branching, I imagine you have to view a list of every
  single changed file (usually many dozens, probably hundreds for your
  RC1 update), and decide for yourself how these are merged.  Sure, if
  you are 100% sure you have no changes of your own you can just replace
  across - but then why use a merge tool at all and not just overwrite
  the files?  Otherwise you'd have to examine every change in every file
  to decide which are merged - sounds fairly tedious.

  Unless you do have an app that can do a three-way merge - basically
  making the diff of the core and previewing the merge onto your
  application?  Because that would be very neat.

  On Jun 5, 2:38 pm, David C. Zentgraf [EMAIL PROTECTED] wrote:
  Hmm, that strategy still seems pretty messy and manual.
  Basically to summarize, you're still manually merging/replacing the
  cake folder in a sandbox directory , and then apply the resulting
  Diff
  to your actual working copy? Doesn't seem a whole lot better than
  going through your working copy with a decent File/Folder Merger
  utility.
  I might give it a shot once next time, not sure if I'll stick with it
  though.

  And unfortunately WinMerge won't work for me, I'm on a Mac. :o)

  On 5 Jun 2008, at 12:46,GrantCoxwrote:

  I use Subversion vendor branching
  (http://bakery.cakephp.org/articles/view/vendor-branching
  ) to maintain all third party code, as you really need something
  that
  can compare three targets.

  But if you do want to do it manually, WinMerge works well for me on
  Windows, using the CVS/SVN Loose filter and with include
  subfolders ticked.  But this is quite tedious for something as
  large
  as the Cake core, and you still have to manage adds/deletes
  manually.
  And of course it won't understand your own modifications, if you
  have
  any.

  If you're already using Subversion for your own application, just
  spend the 30 minutes trying out vendor branching, it really is the
  best way.

  On Jun 5, 1:43 pm, ullumski [EMAIL PROTECTED] wrote:
  If you haven't tried filemerge yet, i'd suggest you give it a
  try.

  It comes with the OSX- Developer Tools, is free and really does the
  trick for me all the time.

  

Re: Tools for merging directories

2008-06-06 Thread Kim F

I use piston for my vendor branching needs, really works perfectly.
http://piston.rubyforge.org/

On Jun 6, 8:25 am, David Zentgraf [EMAIL PROTECTED] wrote:
 Oh, of course, deleting them in the Finder shouldn't be too hard. I
 was too fixated on the CLI. I'll try it when I get home.

 On 6/6/08, Grant Cox [EMAIL PROTECTED] wrote:



  I was about to reply with something glib - since all you want to do is
  list all files in the folder (recursively), select them and delete
  (trivial with Windows Explorer).  However I had a chat with one of our
  Mac guys here, and we couldn't figure it out in Finder / Spotlight.
  How do you list all files in spotlight?

  Similarly, the next step requires you copy (or export) into this
  skeleton folder structure, so you can re-commit.  However, on a Mac it
  will not insert these files into the tree - it'll delete the existing
  tree and replace it completely.  Again, coming from Windows this is
  very surprising, and annoying behaviour.

  I'm a bit short of time to experiment, as I'm sure you'd be able to
  use the command line del in a similar manner (delete all files,
  leave all folders).  And of course you can use the tar/untar method to
  insert files into a tree.  But I agree, on a Mac this method is far
  more tedious than it needs to be.

  On Jun 5, 6:17 pm, David C. Zentgraf [EMAIL PROTECTED] wrote:
  HiGrant,

  I read the SVN book vendor branching article in the meantime and agree
  with your points.
  Quite a lot of dilemmas that can pop up.

  What I'm still not sure about is how to best update the /vendors/
  current directory. Your article only covers the Windows del command.
  Are there equivalent flags for UNIX' rm to remove all files throughout
  a directory tree, excluding .svn dirs? I guess I could come up with a
  script for that, but my shell foo is just limited enough to repeatedly
  shoot myself in the foot before getting it right. Maybe. ;o)

  I guess I'd still have to use a Merge utility for that.

  Is anybody using the svn_load_dirs.pl script?

  On 5 Jun 2008, at 16:52,GrantCoxwrote:

   Yes, with vendor branching you basically create a diff of the changes
   to the CakePHP core, then apply that to your own copy.  Do you have a
   File/Folder merge utility that can do this - compare between the
   original core, the new core, and your application core?  Because just
   comparing between the new core and your application core will not make
   your own changes obvious - if you have made any changes to the core
   (what about /app/config/core.php, or /app/webroot/index.php ?).

   Using vendor branching, I can update the cake core in my application
   within 60 seconds (SVN update to newest core, replace into my own
   repository, commit my own repository, perform merge on application).
   And my core changes (of which I have about a dozen, generally
   associated to outstanding enhancement tickets), are safe - I only have
   to look at conflicts if there are any.

   Without vendor branching, I imagine you have to view a list of every
   single changed file (usually many dozens, probably hundreds for your
   RC1 update), and decide for yourself how these are merged.  Sure, if
   you are 100% sure you have no changes of your own you can just replace
   across - but then why use a merge tool at all and not just overwrite
   the files?  Otherwise you'd have to examine every change in every file
   to decide which are merged - sounds fairly tedious.

   Unless you do have an app that can do a three-way merge - basically
   making the diff of the core and previewing the merge onto your
   application?  Because that would be very neat.

   On Jun 5, 2:38 pm, David C. Zentgraf [EMAIL PROTECTED] wrote:
   Hmm, that strategy still seems pretty messy and manual.
   Basically to summarize, you're still manually merging/replacing the
   cake folder in a sandbox directory , and then apply the resulting
   Diff
   to your actual working copy? Doesn't seem a whole lot better than
   going through your working copy with a decent File/Folder Merger
   utility.
   I might give it a shot once next time, not sure if I'll stick with it
   though.

   And unfortunately WinMerge won't work for me, I'm on a Mac. :o)

   On 5 Jun 2008, at 12:46,GrantCoxwrote:

   I use Subversion vendor branching
   (http://bakery.cakephp.org/articles/view/vendor-branching
   ) to maintain all third party code, as you really need something
   that
   can compare three targets.

   But if you do want to do it manually, WinMerge works well for me on
   Windows, using the CVS/SVN Loose filter and with include
   subfolders ticked.  But this is quite tedious for something as
   large
   as the Cake core, and you still have to manage adds/deletes
   manually.
   And of course it won't understand your own modifications, if you
   have
   any.

   If you're already using Subversion for your own application, just
   spend the 30 minutes trying out vendor branching, it really is the
   

Re: Tools for merging directories

2008-06-06 Thread David C. Zentgraf

On 6 Jun 2008, at 09:57, Grant Cox wrote:

 How do you list all files in spotlight?

Okay, wow, that was indeed surprisingly non-straight forward.
As I don't want to start an OS flamewar here, I'll just list the  
facts: ;o)

Open the Cake folder.
Hit Cmd+F to initiate a Search.
Make sure the Cake folder is selected in the Search: bar.
Hold the Option key and click on the '+' to add a condition (adds a  
condition group).
Select [None] of the following are true for the group condition.
Select [Kind] is [Folders] for the condition.

Here's a screenshot: http://skitch.com/deceze/prr5/spotlight

This applies to 10.5 Leopard, not sure if Condition Groups already  
existed in 10.4.

The .svn information should survive, since the Finder generally hides  
all dot files.
Once that's done, exploding a tar on top of the remaining folder  
structure via the command line should be simple.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Tools for merging directories

2008-06-06 Thread David C. Zentgraf

Looks interesting, I'll play around with it. Thanks.

On 6 Jun 2008, at 17:19, Kim F wrote:

 I use piston for my vendor branching needs, really works perfectly.
 http://piston.rubyforge.org/


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Tools for merging directories

2008-06-05 Thread Grant Cox

Yes, with vendor branching you basically create a diff of the changes
to the CakePHP core, then apply that to your own copy.  Do you have a
File/Folder merge utility that can do this - compare between the
original core, the new core, and your application core?  Because just
comparing between the new core and your application core will not make
your own changes obvious - if you have made any changes to the core
(what about /app/config/core.php, or /app/webroot/index.php ?).

Using vendor branching, I can update the cake core in my application
within 60 seconds (SVN update to newest core, replace into my own
repository, commit my own repository, perform merge on application).
And my core changes (of which I have about a dozen, generally
associated to outstanding enhancement tickets), are safe - I only have
to look at conflicts if there are any.

Without vendor branching, I imagine you have to view a list of every
single changed file (usually many dozens, probably hundreds for your
RC1 update), and decide for yourself how these are merged.  Sure, if
you are 100% sure you have no changes of your own you can just replace
across - but then why use a merge tool at all and not just overwrite
the files?  Otherwise you'd have to examine every change in every file
to decide which are merged - sounds fairly tedious.

Unless you do have an app that can do a three-way merge - basically
making the diff of the core and previewing the merge onto your
application?  Because that would be very neat.


On Jun 5, 2:38 pm, David C. Zentgraf [EMAIL PROTECTED] wrote:
 Hmm, that strategy still seems pretty messy and manual.
 Basically to summarize, you're still manually merging/replacing the
 cake folder in a sandbox directory , and then apply the resulting Diff
 to your actual working copy? Doesn't seem a whole lot better than
 going through your working copy with a decent File/Folder Merger
 utility.
 I might give it a shot once next time, not sure if I'll stick with it
 though.

 And unfortunately WinMerge won't work for me, I'm on a Mac. :o)

 On 5 Jun 2008, at 12:46, Grant Cox wrote:



  I use Subversion vendor branching 
  (http://bakery.cakephp.org/articles/view/vendor-branching
  ) to maintain all third party code, as you really need something that
  can compare three targets.

  But if you do want to do it manually, WinMerge works well for me on
  Windows, using the CVS/SVN Loose filter and with include
  subfolders ticked.  But this is quite tedious for something as large
  as the Cake core, and you still have to manage adds/deletes manually.
  And of course it won't understand your own modifications, if you have
  any.

  If you're already using Subversion for your own application, just
  spend the 30 minutes trying out vendor branching, it really is the
  best way.

  On Jun 5, 1:43 pm, ullumski [EMAIL PROTECTED] wrote:
  If you haven't tried filemerge yet, i'd suggest you give it a try.

  It comes with the OSX- Developer Tools, is free and really does the
  trick for me all the time.

  Cheers,

  Ullumski

  David Christopher Zentgraf wrote:
  Hi,

  With the release of RC1 (Cheers!), I'll use the opportunity to ask
  the
  list what you use to update your Cake builds.
  What's the best tool for you to merge directory structures?
  Something
  like Diff for whole trees.
  I tried several tools on the Mac, but none have really worked all
  that
  well for me.
  Actually, the trick that worked best for me is to (ab)use tar, but
  I'd
  like something with more control.
  (http://macdiggs.com/index.php/2007/12/27/merge-two-folders-on-mac-usi
  ...
  )

  What are you guys using?

  Chrs,
  Dav
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Tools for merging directories

2008-06-05 Thread David C. Zentgraf

Hi Grant,

I read the SVN book vendor branching article in the meantime and agree  
with your points.
Quite a lot of dilemmas that can pop up.

What I'm still not sure about is how to best update the /vendors/ 
current directory. Your article only covers the Windows del command.  
Are there equivalent flags for UNIX' rm to remove all files throughout  
a directory tree, excluding .svn dirs? I guess I could come up with a  
script for that, but my shell foo is just limited enough to repeatedly  
shoot myself in the foot before getting it right. Maybe. ;o)

I guess I'd still have to use a Merge utility for that.

Is anybody using the svn_load_dirs.pl script?


On 5 Jun 2008, at 16:52, Grant Cox wrote:


 Yes, with vendor branching you basically create a diff of the changes
 to the CakePHP core, then apply that to your own copy.  Do you have a
 File/Folder merge utility that can do this - compare between the
 original core, the new core, and your application core?  Because just
 comparing between the new core and your application core will not make
 your own changes obvious - if you have made any changes to the core
 (what about /app/config/core.php, or /app/webroot/index.php ?).

 Using vendor branching, I can update the cake core in my application
 within 60 seconds (SVN update to newest core, replace into my own
 repository, commit my own repository, perform merge on application).
 And my core changes (of which I have about a dozen, generally
 associated to outstanding enhancement tickets), are safe - I only have
 to look at conflicts if there are any.

 Without vendor branching, I imagine you have to view a list of every
 single changed file (usually many dozens, probably hundreds for your
 RC1 update), and decide for yourself how these are merged.  Sure, if
 you are 100% sure you have no changes of your own you can just replace
 across - but then why use a merge tool at all and not just overwrite
 the files?  Otherwise you'd have to examine every change in every file
 to decide which are merged - sounds fairly tedious.

 Unless you do have an app that can do a three-way merge - basically
 making the diff of the core and previewing the merge onto your
 application?  Because that would be very neat.


 On Jun 5, 2:38 pm, David C. Zentgraf [EMAIL PROTECTED] wrote:
 Hmm, that strategy still seems pretty messy and manual.
 Basically to summarize, you're still manually merging/replacing the
 cake folder in a sandbox directory , and then apply the resulting  
 Diff
 to your actual working copy? Doesn't seem a whole lot better than
 going through your working copy with a decent File/Folder Merger
 utility.
 I might give it a shot once next time, not sure if I'll stick with it
 though.

 And unfortunately WinMerge won't work for me, I'm on a Mac. :o)

 On 5 Jun 2008, at 12:46, Grant Cox wrote:



 I use Subversion vendor branching 
 (http://bakery.cakephp.org/articles/view/vendor-branching
 ) to maintain all third party code, as you really need something  
 that
 can compare three targets.

 But if you do want to do it manually, WinMerge works well for me on
 Windows, using the CVS/SVN Loose filter and with include
 subfolders ticked.  But this is quite tedious for something as  
 large
 as the Cake core, and you still have to manage adds/deletes  
 manually.
 And of course it won't understand your own modifications, if you  
 have
 any.

 If you're already using Subversion for your own application, just
 spend the 30 minutes trying out vendor branching, it really is the
 best way.

 On Jun 5, 1:43 pm, ullumski [EMAIL PROTECTED] wrote:
 If you haven't tried filemerge yet, i'd suggest you give it a  
 try.

 It comes with the OSX- Developer Tools, is free and really does the
 trick for me all the time.

 Cheers,

 Ullumski

 David Christopher Zentgraf wrote:
 Hi,

 With the release of RC1 (Cheers!), I'll use the opportunity to ask
 the
 list what you use to update your Cake builds.
 What's the best tool for you to merge directory structures?
 Something
 like Diff for whole trees.
 I tried several tools on the Mac, but none have really worked all
 that
 well for me.
 Actually, the trick that worked best for me is to (ab)use tar, but
 I'd
 like something with more control.
 (http://macdiggs.com/index.php/2007/12/27/merge-two-folders-on-mac-usi
 ...
 )

 What are you guys using?

 Chrs,
 Dav
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Tools for merging directories

2008-06-05 Thread ullumski

Well - you can drag folders into the left and right dropzones.
Then drag again for ancestor and merge (destination).

That way you get a pretty intuitive view similar to any
subversionclient.
Folders or Files with changes in them have no checkmarks, folders
without have none.

There are hotkeys for merging folders or files as well as the
possibility to review files manually (the way you used it before,
right?).


Of course there is still some amount of action to be taken by
yourself, so this might not be the
fully automated solution you are looking for.

For me, this is the perfect balance between automation and my urge for
control.

(^-^)

Cheers,

U.

On Jun 5, 6:43 am, David C. Zentgraf [EMAIL PROTECTED] wrote:
 I love FileMerge, for merging *files*. I find it very lacking for  
 merging whole tree structures. How do you use it? Am I missing  
 something?

 I poked around a bit more and came across Araxis Merge 
 (http://www.araxis.com/merge_mac/
 ), which I just used to merge RC1 into my app. It still has a very  
 manual feel to it, but does a good job and seems decent enough. Still  
 on the lookout for something better though. :-3

 Has anybody successfully used Changes (http://changesapp.com/)?I gave  
 it several tries, but was always disappointed.

 On 5 Jun 2008, at 12:43, ullumski wrote:



  If you haven't tried filemerge yet, i'd suggest you give it a try.

  It comes with the OSX- Developer Tools, is free and really does the
  trick for me all the time.

  Cheers,

  Ullumski

  David Christopher Zentgraf wrote:
  Hi,

  With the release of RC1 (Cheers!), I'll use the opportunity to ask  
  the
  list what you use to update your Cake builds.
  What's the best tool for you to merge directory structures? Something
  like Diff for whole trees.
  I tried several tools on the Mac, but none have really worked all  
  that
  well for me.
  Actually, the trick that worked best for me is to (ab)use tar, but  
  I'd
  like something with more control.
  (http://macdiggs.com/index.php/2007/12/27/merge-two-folders-on-mac-usi...
  )

  What are you guys using?

  Chrs,
  Dav
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Tools for merging directories

2008-06-05 Thread David C. Zentgraf

To be quite honest, I don't get it. :-D

How would you use the Left/Right/Ancestor/Merge fields for updating  
your working copy?
As far as I understand you'd still need to maintain a /vendors branch  
of the original versions (ancestor)?
Is it handling collisions elegantly enough without having to go  
through all directories individually?


On 5 Jun 2008, at 17:36, ullumski wrote:


 Well - you can drag folders into the left and right dropzones.
 Then drag again for ancestor and merge (destination).

 That way you get a pretty intuitive view similar to any
 subversionclient.
 Folders or Files with changes in them have no checkmarks, folders
 without have none.

 There are hotkeys for merging folders or files as well as the
 possibility to review files manually (the way you used it before,
 right?).


 Of course there is still some amount of action to be taken by
 yourself, so this might not be the
 fully automated solution you are looking for.

 For me, this is the perfect balance between automation and my urge for
 control.

 (^-^)

 Cheers,

 U.

 On Jun 5, 6:43 am, David C. Zentgraf [EMAIL PROTECTED] wrote:
 I love FileMerge, for merging *files*. I find it very lacking for
 merging whole tree structures. How do you use it? Am I missing
 something?

 I poked around a bit more and came across Araxis Merge 
 (http://www.araxis.com/merge_mac/
 ), which I just used to merge RC1 into my app. It still has a very
 manual feel to it, but does a good job and seems decent enough. Still
 on the lookout for something better though. :-3

 Has anybody successfully used Changes (http://changesapp.com/)?I gave
 it several tries, but was always disappointed.

 On 5 Jun 2008, at 12:43, ullumski wrote:



 If you haven't tried filemerge yet, i'd suggest you give it a try.

 It comes with the OSX- Developer Tools, is free and really does the
 trick for me all the time.

 Cheers,

 Ullumski

 David Christopher Zentgraf wrote:
 Hi,

 With the release of RC1 (Cheers!), I'll use the opportunity to ask
 the
 list what you use to update your Cake builds.
 What's the best tool for you to merge directory structures?  
 Something
 like Diff for whole trees.
 I tried several tools on the Mac, but none have really worked all
 that
 well for me.
 Actually, the trick that worked best for me is to (ab)use tar, but
 I'd
 like something with more control.
 (http://macdiggs.com/index.php/2007/12/27/merge-two-folders-on-mac-usi 
 ...
 )

 What are you guys using?

 Chrs,
 Dav
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Tools for merging directories

2008-06-05 Thread Grant Cox

I was about to reply with something glib - since all you want to do is
list all files in the folder (recursively), select them and delete
(trivial with Windows Explorer).  However I had a chat with one of our
Mac guys here, and we couldn't figure it out in Finder / Spotlight.
How do you list all files in spotlight?

Similarly, the next step requires you copy (or export) into this
skeleton folder structure, so you can re-commit.  However, on a Mac it
will not insert these files into the tree - it'll delete the existing
tree and replace it completely.  Again, coming from Windows this is
very surprising, and annoying behaviour.

I'm a bit short of time to experiment, as I'm sure you'd be able to
use the command line del in a similar manner (delete all files,
leave all folders).  And of course you can use the tar/untar method to
insert files into a tree.  But I agree, on a Mac this method is far
more tedious than it needs to be.


On Jun 5, 6:17 pm, David C. Zentgraf [EMAIL PROTECTED] wrote:
 HiGrant,

 I read the SVN book vendor branching article in the meantime and agree
 with your points.
 Quite a lot of dilemmas that can pop up.

 What I'm still not sure about is how to best update the /vendors/
 current directory. Your article only covers the Windows del command.
 Are there equivalent flags for UNIX' rm to remove all files throughout
 a directory tree, excluding .svn dirs? I guess I could come up with a
 script for that, but my shell foo is just limited enough to repeatedly
 shoot myself in the foot before getting it right. Maybe. ;o)

 I guess I'd still have to use a Merge utility for that.

 Is anybody using the svn_load_dirs.pl script?

 On 5 Jun 2008, at 16:52,GrantCoxwrote:



  Yes, with vendor branching you basically create a diff of the changes
  to the CakePHP core, then apply that to your own copy.  Do you have a
  File/Folder merge utility that can do this - compare between the
  original core, the new core, and your application core?  Because just
  comparing between the new core and your application core will not make
  your own changes obvious - if you have made any changes to the core
  (what about /app/config/core.php, or /app/webroot/index.php ?).

  Using vendor branching, I can update the cake core in my application
  within 60 seconds (SVN update to newest core, replace into my own
  repository, commit my own repository, perform merge on application).
  And my core changes (of which I have about a dozen, generally
  associated to outstanding enhancement tickets), are safe - I only have
  to look at conflicts if there are any.

  Without vendor branching, I imagine you have to view a list of every
  single changed file (usually many dozens, probably hundreds for your
  RC1 update), and decide for yourself how these are merged.  Sure, if
  you are 100% sure you have no changes of your own you can just replace
  across - but then why use a merge tool at all and not just overwrite
  the files?  Otherwise you'd have to examine every change in every file
  to decide which are merged - sounds fairly tedious.

  Unless you do have an app that can do a three-way merge - basically
  making the diff of the core and previewing the merge onto your
  application?  Because that would be very neat.

  On Jun 5, 2:38 pm, David C. Zentgraf [EMAIL PROTECTED] wrote:
  Hmm, that strategy still seems pretty messy and manual.
  Basically to summarize, you're still manually merging/replacing the
  cake folder in a sandbox directory , and then apply the resulting
  Diff
  to your actual working copy? Doesn't seem a whole lot better than
  going through your working copy with a decent File/Folder Merger
  utility.
  I might give it a shot once next time, not sure if I'll stick with it
  though.

  And unfortunately WinMerge won't work for me, I'm on a Mac. :o)

  On 5 Jun 2008, at 12:46,GrantCoxwrote:

  I use Subversion vendor branching 
  (http://bakery.cakephp.org/articles/view/vendor-branching
  ) to maintain all third party code, as you really need something
  that
  can compare three targets.

  But if you do want to do it manually, WinMerge works well for me on
  Windows, using the CVS/SVN Loose filter and with include
  subfolders ticked.  But this is quite tedious for something as
  large
  as the Cake core, and you still have to manage adds/deletes
  manually.
  And of course it won't understand your own modifications, if you
  have
  any.

  If you're already using Subversion for your own application, just
  spend the 30 minutes trying out vendor branching, it really is the
  best way.

  On Jun 5, 1:43 pm, ullumski [EMAIL PROTECTED] wrote:
  If you haven't tried filemerge yet, i'd suggest you give it a
  try.

  It comes with the OSX- Developer Tools, is free and really does the
  trick for me all the time.

  Cheers,

  Ullumski

  David Christopher Zentgraf wrote:
  Hi,

  With the release of RC1 (Cheers!), I'll use the opportunity to ask
  the
  list what you use to update your Cake builds.
  

Tools for merging directories

2008-06-04 Thread David Christopher Zentgraf

Hi,

With the release of RC1 (Cheers!), I'll use the opportunity to ask the  
list what you use to update your Cake builds.
What's the best tool for you to merge directory structures? Something  
like Diff for whole trees.
I tried several tools on the Mac, but none have really worked all that  
well for me.
Actually, the trick that worked best for me is to (ab)use tar, but I'd  
like something with more control.
(http://macdiggs.com/index.php/2007/12/27/merge-two-folders-on-mac-using-terminal-and-tar/
 
)

What are you guys using?

Chrs,
Dav

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Tools for merging directories

2008-06-04 Thread Grant Cox

I use Subversion vendor branching ( 
http://bakery.cakephp.org/articles/view/vendor-branching
) to maintain all third party code, as you really need something that
can compare three targets.

But if you do want to do it manually, WinMerge works well for me on
Windows, using the CVS/SVN Loose filter and with include
subfolders ticked.  But this is quite tedious for something as large
as the Cake core, and you still have to manage adds/deletes manually.
And of course it won't understand your own modifications, if you have
any.

If you're already using Subversion for your own application, just
spend the 30 minutes trying out vendor branching, it really is the
best way.



On Jun 5, 1:43 pm, ullumski [EMAIL PROTECTED] wrote:
 If you haven't tried filemerge yet, i'd suggest you give it a try.

 It comes with the OSX- Developer Tools, is free and really does the
 trick for me all the time.

 Cheers,

 Ullumski

 David Christopher Zentgraf wrote:
  Hi,

  With the release of RC1 (Cheers!), I'll use the opportunity to ask the
  list what you use to update your Cake builds.
  What's the best tool for you to merge directory structures? Something
  like Diff for whole trees.
  I tried several tools on the Mac, but none have really worked all that
  well for me.
  Actually, the trick that worked best for me is to (ab)use tar, but I'd
  like something with more control.
  (http://macdiggs.com/index.php/2007/12/27/merge-two-folders-on-mac-usi...
  )

  What are you guys using?

  Chrs,
  Dav
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Tools for merging directories

2008-06-04 Thread David C. Zentgraf

Hmm, that strategy still seems pretty messy and manual.
Basically to summarize, you're still manually merging/replacing the  
cake folder in a sandbox directory , and then apply the resulting Diff  
to your actual working copy? Doesn't seem a whole lot better than  
going through your working copy with a decent File/Folder Merger  
utility.
I might give it a shot once next time, not sure if I'll stick with it  
though.

And unfortunately WinMerge won't work for me, I'm on a Mac. :o)

On 5 Jun 2008, at 12:46, Grant Cox wrote:


 I use Subversion vendor branching ( 
 http://bakery.cakephp.org/articles/view/vendor-branching
 ) to maintain all third party code, as you really need something that
 can compare three targets.

 But if you do want to do it manually, WinMerge works well for me on
 Windows, using the CVS/SVN Loose filter and with include
 subfolders ticked.  But this is quite tedious for something as large
 as the Cake core, and you still have to manage adds/deletes manually.
 And of course it won't understand your own modifications, if you have
 any.

 If you're already using Subversion for your own application, just
 spend the 30 minutes trying out vendor branching, it really is the
 best way.



 On Jun 5, 1:43 pm, ullumski [EMAIL PROTECTED] wrote:
 If you haven't tried filemerge yet, i'd suggest you give it a try.

 It comes with the OSX- Developer Tools, is free and really does the
 trick for me all the time.

 Cheers,

 Ullumski

 David Christopher Zentgraf wrote:
 Hi,

 With the release of RC1 (Cheers!), I'll use the opportunity to ask  
 the
 list what you use to update your Cake builds.
 What's the best tool for you to merge directory structures?  
 Something
 like Diff for whole trees.
 I tried several tools on the Mac, but none have really worked all  
 that
 well for me.
 Actually, the trick that worked best for me is to (ab)use tar, but  
 I'd
 like something with more control.
 (http://macdiggs.com/index.php/2007/12/27/merge-two-folders-on-mac-usi 
 ...
 )

 What are you guys using?

 Chrs,
 Dav
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



Re: Tools for merging directories

2008-06-04 Thread David C. Zentgraf

I love FileMerge, for merging *files*. I find it very lacking for  
merging whole tree structures. How do you use it? Am I missing  
something?

I poked around a bit more and came across Araxis Merge 
(http://www.araxis.com/merge_mac/ 
), which I just used to merge RC1 into my app. It still has a very  
manual feel to it, but does a good job and seems decent enough. Still  
on the lookout for something better though. :-3

Has anybody successfully used Changes (http://changesapp.com/)? I gave  
it several tries, but was always disappointed.


On 5 Jun 2008, at 12:43, ullumski wrote:


 If you haven't tried filemerge yet, i'd suggest you give it a try.

 It comes with the OSX- Developer Tools, is free and really does the
 trick for me all the time.

 Cheers,


 Ullumski

 David Christopher Zentgraf wrote:
 Hi,

 With the release of RC1 (Cheers!), I'll use the opportunity to ask  
 the
 list what you use to update your Cake builds.
 What's the best tool for you to merge directory structures? Something
 like Diff for whole trees.
 I tried several tools on the Mac, but none have really worked all  
 that
 well for me.
 Actually, the trick that worked best for me is to (ab)use tar, but  
 I'd
 like something with more control.
 (http://macdiggs.com/index.php/2007/12/27/merge-two-folders-on-mac-using-terminal-and-tar/
 )

 What are you guys using?

 Chrs,
 Dav
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---