textpad and tortoise cvs how to integrate

Instructional HowTos, posted by users. No questions here please.

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
marinhekman
Posts: 6
Joined: Thu Apr 15, 2004 7:20 am

textpad and tortoise cvs how to integrate

Post by marinhekman »

I choose to integrate Tortoise above cvs.exe because it fits in de windows interface and also you do need to do a login procedure every thing you want to do a update or commit. And ofcourse you can benefit from Tortoise its features. But how to integrate Tortoise in Textpad menu?

Just install Tortoise on your system and setup cvs hostname, username, etc and test if it works by doing a right mouse CVS Update somewhere
Download Tortoise from here: http://www.tortoisecvs.org

If Tortoise is working than go to Textpad menu: Configure - Preferences - Tools (last one). Choose Add - Program and choose C:\Program Files\TortoiseCVS\TorToiseAct.exe. In the list you get : TorToiseAct. Rename this by doing a single click on the name and typing a new one, for example CVS Update. Press Apply button. Now click on the name in the Tools Tree so you can configure the program, like its Command, Parameters and Initial Folder. Now configure the following programs:

CVSUpdate
Command: C:\Program Files\TortoiseCVS\TortoiseAct.exe
Parameters: CVSUpdate -l $FileDir
Initial Folder: $FileDir

CVS Commit File
Command: C:\Program Files\TortoiseCVS\TortoiseAct.exe
Parameters: CvsCommitDialog -l $File
Initial Folder: $FileDir

CVS History File
Command: C:\Program Files\TortoiseCVS\TortoiseAct.exe
Parameters: CvsHistory -l $File
Initial Folder: $FileDir

Now you will have menu items below Tools, also you can use shortcut keys to call them rapidly (for example Ctrl+4).

If you want to try the TortoiseAct program even futher, this is how you can do it:

TorToiseAct cvs-verb [-h handle] [-f file-list] [-l files...]

handle is a windows handle which is being refreshed after the action

file-list is a file with a list of files in it on which the action has to be executed

files is a directory or a file, maybe you can even do multiple files by seperating them with space

These are the possible actions, or cvs-verb:
CvsAbout
CvsAddIgnoreExt
CvsAddIgnore
CvsAddRecursive
CvsAdd
CvsAnnotate
CvsBranch
CvsCheckout
CvsCommitDialog
CvsDiff
CvsEdit
CvsGet
CvsHelp
CvsHistory
CvsListEditors
CvsLog
CvsMakeModule
CvsMakePatch
CvsMergeConflicts
CvsMerge
CvsPrefs
CvsRebuildIcons
CvsRefreshStatus
CvsRelease
CvsRemove
CvsResolveConflicts
CvsRestore
CvsRevisionGraph
CvsSaveAs
CvsTag
CvsTortoiseCode
CvsUnedit
CvsUpdateDialog
CvsUpdate
CvsUrl
CvsWebLog
CvsWxWindowsCode
nightowl
Posts: 3
Joined: Sat Sep 11, 2004 11:51 am

Post by nightowl »

great info - this woul allow me to do a commit from the Textpad interface ?
Post Reply