|
Version Control for MicroEdge Visual SlickEdit
Visual SlickEdit is a popular programmer's editor for Windows and UNIX. (home:
http://www.slickedit.com ).
To add version control support (VCS) to SlickEdit follow these steps:
-
Install CS-RCS and follow the tutorial.
-
Add the lines below to your USERVC.SLK file (located at your VSLICK folder, create a new file if not found.). Note: Adjust the CS-RCS\System folder to your system settings.
-
Activate SlickEdit.
-
Choose the Project |
Check In… menu.
-
Choose CS-RCS as the active Version Control System
-
Click on Setup…
-
Check the Auto Check-out on Edit and
Set Files to Read Only on Check In options.
-
Click OK (twice).
CS-RCS Operations: (operations are performed on the file selected on the active buffer)
-
Add to RCS -- To add a new file to the repository, choose the Project |
Check In… menu. Check the New Archive File option and click OK. Note: By default, files added to the repository are initially locked by you.
-
Unlock (workgroup setup only) -- To release a file lock, choose the Project | Check In… menu. Check the Discard Changes option and click OK. Note: You can also use the Check Out command as explained below.
-
Lock (workgroup setup only) -- To lock a file, choose the Project | Check Out… menu. Clear the Read Only option and click OK.
-
Check-out the head revision -- To Revert to the head revision, choose the Project | Check Out… menu. Set the Read Only option as desired and click OK.
-
Check-in -- To add a new file revision to the repository, choose the Project | Check In… menu and click OK.
The following lines are to be added to the USERVC.SLK / VCSYSTEM.SLK file: (located at the VSLICK folder ; Adjust the csrcs.exe path to your system settings)
[CS-RCS]
checkin_new="C:\Program Files \ComponentSoftware \CS-RCS \System \csrcs.exe" create %f
checkout="C:\Program Files\ComponentSoftware\CS-RCS\System\csrcs.exe" co /l /q %f
checkin="C:\Program Files\ComponentSoftware\CS-RCS\System\csrcs.exe" ci /u %f
checkout_read_only="C:\Program Files \ComponentSoftware \CS-RCS \System \csrcs.exe" co /u /q %f
checkin_discard="C:\Program Files\ComponentSoftware\CS-RCS\System\csrcs.exe" co /u /q %f
archive_filespec=*.*,v
Current add-on version: 1.0
(download as
text)
|