Inhaltsverzeichnis
Development
Version Control (RCS)
What is RCS : https://en.wikipedia.org/wiki/Revision_Control_System
Official Home Page: https://www.cs.purdue.edu/homes/trinkle/RCS/
How to: https://www.madboa.com/geek/rcs/ http://www.yolinux.com/TUTORIALS/LinuxTutorialRCSintro.html
Configuration
- Download from https://www.cs.purdue.edu/homes/trinkle/RCS/
- Store binaries in:
C:\Program Files (x86)\rcs\bin\
- Copy rdir.bat
set TZ=GST-1GDT cd /d D:\CloudStation\python
into this bin
- Create script to use vi with RCS RCSvi on linux
# /usr/bin/co -l $1 /usr/bin/bin/vi $1 /usr/bin/ci $1 - Extent PATH environment varaiable:
set PATH=%PATH%;C:\Program Files (x86)\rcs\bin\
- To start create sub dir RCS
- Insert into .py files
$Id$
Main Command
- Initial check-in of file (leaving file active in filesystem) ci -i filename or ci -u -i -t-Init2017-03 *.py
- Check out with lock co -l filename
- Check in and unlock (leaving file active in filesystem) ci -u filename
- Display version x.y of a file co -px.y filename
- Undo to version x.y (overwrites file active in filesystem with the specified revision) co -rx.y filename
- Diff file active in filesystem and last revision rcsdiff filename
- Diff versions x.y and x.z rcsdiff -rx.y -rx.z filename
- View log of check-ins rlog filename Break an RCS lock held by another person on a file rcs -u filename
