WinCVS/CVSNT tools

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

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

Post Reply
dtoader
Posts: 15
Joined: Thu Feb 22, 2007 9:50 pm

WinCVS/CVSNT tools

Post by dtoader »

First install WinCVS, CVSNT
Start Textpad

------------------------------------------------------------------------

To create "Cvs update to latest" tool

Configure->Preferences
Tools
Create a new tool
Add -> Program

Command: C:\Program Files\cvsnt\cvs.exe
Parameters: -r update -P -- "$FileName"
Initial Folder: $FileDir
[x] Capture output
Regular expression to match output:
.*

Rename the tool to "Cvs update to latest"
[OK]

------------------------------------------------------------------------

To create "Cvs reserved edit" tool

Configure->Preferences
Tools
Create a new tool
Add -> Program

Command: C:\Program Files\cvsnt\cvs.exe
Parameters: -r edit –c -- "$FileName"
Initial Folder: $FileDir
[x] Capture output
Regular expression to match output:
.*

Rename the tool to "Cvs reserved edit"
[OK]

To make the keyboard shortcut:

Configure->Preferences
Keyboard
Categories: Tools
Commands: Cvs reserved edit
Press new shortcut key: Ctrl+2
[Assign]
[OK]

------------------------------------------------------------------------

To create "Cvs commit" tool

Configure->Preferences
Tools
Create a new tool
Add -> Program

Command: C:\Program Files\cvsnt\cvs.exe
Parameters: -r commit -m "$Prompt(Enter commit log string:)" -- "$FileName"
Initial Folder: $FileDir
[x] Capture output
Regular expression to match output:
.*

Rename the tool to "Cvs commit"
[OK]

To make the keyboard shortcut:

Configure->Preferences
Keyboard
Categories: Tools
Commands: Cvs commit
Press new shortcut key: Ctrl+3
[Assign]
[OK]

------------------------------------------------------------------------

To create "Cvs unedit" tool

Configure->Preferences
Tools
Create a new tool
Add -> Program

Command: C:\Program Files\cvsnt\cvs.exe
Parameters: -r unedit -- "$FileName"
Initial Folder: $FileDir
[x] Capture output
Regular expression to match output:
.*

Rename the tool to "Cvs unedit"
[OK]

To make the keyboard shortcut:

Configure->Preferences
Keyboard
Categories: Tools
Commands: Cvs unedit
Press new shortcut key: Ctrl+4
[Assign]
[OK]

------------------------------------------------------------------------

To create "Cvs editors of selection" tool

Configure->Preferences
Tools
Create a new tool
Add -> Program

Command: C:\Program Files\cvsnt\cvs.exe
Parameters: -r editors -- "$FileName"
Initial Folder: $FileDir
[x] Capture output
Regular expression to match output:
.*

Rename the tool to "Cvs editors of selection"
[OK]

To make the keyboard shortcut:

Configure->Preferences
Keyboard
Categories: Tools
Commands: Cvs editors of selection
Press new shortcut key: Ctrl+5
[Assign]
[OK]

------------------------------------------------------------------------

To create "Cvs update to revision" tool

Configure->Preferences
Tools
Create a new tool
Add -> Program

Command: C:\Program Files\cvsnt\cvs.exe
Parameters: -r update -P –r $Prompt(Enter revision number:) -- "$FileName"
Initial Folder: $FileDir
[x] Capture output
Regular expression to match output:
.*

Rename the tool to "Cvs update to revision"
[OK]

To make the keyboard shortcut:

Configure->Preferences
Keyboard
Categories: Tools
Commands: Cvs update to revision
Press new shortcut key: Ctrl+6
[Assign]
[OK]

------------------------------------------------------------------------
Post Reply