NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
PhpED and CVS on Windows


Joined: 15 Sep 2005
Posts: 13
Location: Eugene, OR, USA
Reply with quote
Hello all,

I struggled with learning CVS the past couple of days, and thought I'd share a couple of tips for my fellow CVS noobs. First, don't use the CVS included with PhpED. It just doesn't seem to work well. Don't hold it against NuSphere, I don't think they wrote the CVS executable or anything, but rather provided an interface to it for convenience.

Instead, use TortoiseCVS[0], which works via the context menu (right-click). It's free, btw. Set up a repository using the latest copy of CVSNT (available for Windows/Linux(rpm)/Mac/etc)[1] and checkout a sandbox, as per the Tortoise docs (which you must read), and then create a project in PhpED using the sandbox root directory as the project root dir. The files listed in the workspace window will have the Tortoise icon overlays to show their status. Screenshot:

To access the CVS functions, right-click a file in the PhpED workspace window and mouse down to Shell Menu, and from there you can choose CVS Commit / Update / etc.
- note the difference between the "CVS" option and the "Shell Menu" option which then shows the Tortoise CVS options).

Hope this is useful to someone!

[0] www.tortoisecvs.org
[1] www.march-hare.com/cvspro (look at the right-hand column for downloads)
View user's profileFind all posts by anaxamaxanSend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Quote:
First, don't use the CVS included with PhpED

Actually, I'd recommend to use either Shell-integrated TortoiseXXX (where XXX is CVS or SVN) or any other Shell-integrated source control system OR CVS executable included with PhpED. Latter one contains some fixes and works with IDE-provided password dialog. Original cvs.exe may hang when it prompts for password.
FYI, patches are submitted back to CVS team, according to their license.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
One or the other...yeah


Joined: 15 Sep 2005
Posts: 13
Location: Eugene, OR, USA
Reply with quote
Yeah, definitely use one xor the other! Smile I'm using 4.0 Build 4033 and it seems like the bundled cvs.exe hangs for all but the simplest projects. I left the bundled one in the screenshot to show the difference between the two, not to suggest using both. For newbies like me, just getting started with using source-control, PhpED + Tortoise works very well indeed. I should point out that some other php IDEs do *not* show the Tortoise icon overlays when browsing files, but PhpED does.
View user's profileFind all posts by anaxamaxanSend private messageVisit poster's website
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Quote:
some other php IDEs do *not* show the Tortoise icon overlays when browsing files, but PhpED does


Yep, PHPED is cool Smile
View user's profileFind all posts by dmitriSend private messageVisit poster's website
Veteran

Joined: 28 Nov 2005
Posts: 144
Reply with quote
here http://www.tortoisecvs.org/faq.shtml#brokenlineendings I've found some interesting issues with tortoise and cygwin
View user's profileFind all posts by blackSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8344
Reply with quote
Quote:
brokenlineendings

BTW with cvs.exe bundled with PhpED, it would not happen.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
PhpED and CVS on Windows
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic