SlideShare uma empresa Scribd logo
1 de 16
Source Code Control System
SCCS
● essential tool for any project with multiple source files or
which has several people working with multiple source
files.
● provides a way to keep track of a source file's
development and to prevent it from being altered by more
than one person at a time.
● first source code revision control system
● dominant version control system until the release of the
Revision Control System.
● generally considered obsolete. However, its file format is
still used internally by a few other revision control
programs, including BitKeeper and TeamWare.
SCCS can be used for...
● Putting files under SCCS control
● Checking out files
● Checking in files
● Getting information about files
● Creating new releases
● Comparing files under SCCS control
Putting files under SCCS control
Files are placed under the control of SCCS by
making an SCCS directory and creating the
SCCS file. You also have the option of placing ID
keywords in each file.
● Making an SCCS directory
● Inserting SCCS ID keywords in a file
● Creating an SCCS file
Making an SCCS directory
● To create the SCCS directory use the
command:
mkdir SCCS
● The directory name must be in upper case.
Inserting SCCS ID keywords in a file
● You can put one or
more ID keywords in
each file. These
keywords are used to
display information
about the file
whenever a read only
version is checked
out.
SCCS ID keywords include:
%G% the date of the delta
%I% sid of the retrieved text
%M% the current module name
%R% the current release number
%W% a shorter form for %Z%%M%<tab>%I%
%Z% string used by the what command
Creating an SCCS file
● To place files under the control of SCCS use the command:
sccs create filename(s)
● For each filename given as an argument sccs create does the following:
● filename is moved to ,filename
● a history file s.filename is created in the SCCS subdirectory
● a "read only" copy of the initial version of the file is made by sccs get
● You can use the ls command to check that the history files have been
created.
ls SCCS
● Now you can remove the ,filename files:
rm ,*
Checking out files
You can check out a file to read it or edit it and
then check it back in again. You can also check
out earlier versions of a file.
● Check out a file for reading
● Check out a file for editing
● Check out an early version of a file
● Cancelling an editing session
Check out a file for reading
To get a copy of one of your files for reading use the command:
sccs get filename
To get a copy of each of your files for reading use the command:
sccs get SCCS
**Caution**
When you have finished using a file that was fetched from SCCS
by sccs get do not attempt to replace it there: remove it.
Check out a file for editing
To check out a copy of one of your files for editing use the command:
sccs get -e filename
SCCS will record your login name. No other users can checkout this file
but they can see who it is checked out to. If a read-only copy of this file
already exists then it will be overwritten.
To check out a copy of each of your files use the command:
sccs get -e SCCS
Check out an early version of a file
You can check out an earlier version of a file. Use
the command:
sccs get -r version number
Cancelling an editing session
You check out a file, edit it, and then decide that
you don't want this new version.
sccs unedit filename
This removes the file and reverts to the previous
version number.
Checking in files
After editing a file you can check it in with the
command:
sccs delta filename
SCCS will then:
● make sure you are the user who checked it out
● ask you for a descriptive comment on the changes you have
made
● record what changes have been made
● remove the writable copy of the file from the current
directory
Getting information about files
SCCS provides facilities for getting the following
types of information about files under its control.
● Which files are being edited?
● sccs info
● sccs info -u username
● What is the latest versions of each file?
● sccs what filename(s)
● What is the history of this file?
● sccs prt filename
Creating new releases
To begin a new release for a file you "get" it with
the next release number.
sccs get -e -r release_number filename
For example for a file with a version of 2.4 you
would want the new release to be 3.
sccs get -e -r3 sect1.txt
s.sect1.txt:
2.4
new delta 3.1
20 lines
Comparing files under SCCS control
You can compare any two versions of a file that is
under the control of SCCS with the sccsdiff
command:
/usr/sccs/sccsdiff -rversion -rversion s.filename
Using this command produces a line by line
difference between the two versions of the file.
Results are shown in the same format as that
produced by the diff command.

Mais conteúdo relacionado

Destaque

Version Control != Dependency Management
Version Control != Dependency ManagementVersion Control != Dependency Management
Version Control != Dependency ManagementPatrick van Dissel
 
SVN Best Practices
SVN Best PracticesSVN Best Practices
SVN Best Practicesabackstrom
 
SVN Usage & Best Practices
SVN Usage & Best PracticesSVN Usage & Best Practices
SVN Usage & Best PracticesAshraf Fouad
 
Version Control with SVN
Version Control with SVNVersion Control with SVN
Version Control with SVNPHPBelgium
 
Martin sepulveda
Martin sepulvedaMartin sepulveda
Martin sepulvedadals23
 
Stress in Relatie tot 7 Alledaagse Dingen op het Werk
Stress in Relatie tot 7 Alledaagse Dingen op het WerkStress in Relatie tot 7 Alledaagse Dingen op het Werk
Stress in Relatie tot 7 Alledaagse Dingen op het Werkmulderpc
 
Presentacion manpower marzo 2012
Presentacion manpower marzo 2012Presentacion manpower marzo 2012
Presentacion manpower marzo 2012Jorge Paredes
 
Google Zero Moment Of Truth (ZMOT)
Google Zero Moment Of Truth (ZMOT)Google Zero Moment Of Truth (ZMOT)
Google Zero Moment Of Truth (ZMOT)Isah Kambali
 
Command Channel Slides Week between Aug. 30 to Sept. 5
Command Channel Slides Week between Aug. 30 to Sept. 5Command Channel Slides Week between Aug. 30 to Sept. 5
Command Channel Slides Week between Aug. 30 to Sept. 5USAG Japan
 
Reliv International LunaRich Campaign
Reliv International LunaRich CampaignReliv International LunaRich Campaign
Reliv International LunaRich CampaignMark Murphy
 
Antipsicòtics bit navarra 2013
Antipsicòtics bit navarra 2013Antipsicòtics bit navarra 2013
Antipsicòtics bit navarra 2013alfonsmoret
 
¡CARICIAS PARA EL ALMA!
¡CARICIAS PARA EL ALMA!¡CARICIAS PARA EL ALMA!
¡CARICIAS PARA EL ALMA!pipis397
 
Jugadores de fútbol
Jugadores de fútbolJugadores de fútbol
Jugadores de fútbolBorjakrkic
 
Danubia ceer exposé 20161116
Danubia ceer exposé 20161116Danubia ceer exposé 20161116
Danubia ceer exposé 20161116Stefan Blaas
 
La profecía de Thiaoouba - Michel Desmarquet (Ebook edición 2010)
La profecía de Thiaoouba - Michel Desmarquet (Ebook edición 2010)La profecía de Thiaoouba - Michel Desmarquet (Ebook edición 2010)
La profecía de Thiaoouba - Michel Desmarquet (Ebook edición 2010)gisszenon
 
Mid Season Update de Maria Pascual
Mid Season Update de Maria PascualMid Season Update de Maria Pascual
Mid Season Update de Maria PascualMariaPascualJewelry
 

Destaque (20)

Version Control != Dependency Management
Version Control != Dependency ManagementVersion Control != Dependency Management
Version Control != Dependency Management
 
SVN Best Practices
SVN Best PracticesSVN Best Practices
SVN Best Practices
 
SVN Usage & Best Practices
SVN Usage & Best PracticesSVN Usage & Best Practices
SVN Usage & Best Practices
 
Version Control with SVN
Version Control with SVNVersion Control with SVN
Version Control with SVN
 
Svn Basic Tutorial
Svn Basic TutorialSvn Basic Tutorial
Svn Basic Tutorial
 
Martin sepulveda
Martin sepulvedaMartin sepulveda
Martin sepulveda
 
Stress in Relatie tot 7 Alledaagse Dingen op het Werk
Stress in Relatie tot 7 Alledaagse Dingen op het WerkStress in Relatie tot 7 Alledaagse Dingen op het Werk
Stress in Relatie tot 7 Alledaagse Dingen op het Werk
 
Presentacion manpower marzo 2012
Presentacion manpower marzo 2012Presentacion manpower marzo 2012
Presentacion manpower marzo 2012
 
Google Zero Moment Of Truth (ZMOT)
Google Zero Moment Of Truth (ZMOT)Google Zero Moment Of Truth (ZMOT)
Google Zero Moment Of Truth (ZMOT)
 
Af 2
Af 2Af 2
Af 2
 
Command Channel Slides Week between Aug. 30 to Sept. 5
Command Channel Slides Week between Aug. 30 to Sept. 5Command Channel Slides Week between Aug. 30 to Sept. 5
Command Channel Slides Week between Aug. 30 to Sept. 5
 
Reliv International LunaRich Campaign
Reliv International LunaRich CampaignReliv International LunaRich Campaign
Reliv International LunaRich Campaign
 
Antipsicòtics bit navarra 2013
Antipsicòtics bit navarra 2013Antipsicòtics bit navarra 2013
Antipsicòtics bit navarra 2013
 
¡CARICIAS PARA EL ALMA!
¡CARICIAS PARA EL ALMA!¡CARICIAS PARA EL ALMA!
¡CARICIAS PARA EL ALMA!
 
Hoja de vida
Hoja de vidaHoja de vida
Hoja de vida
 
Jugadores de fútbol
Jugadores de fútbolJugadores de fútbol
Jugadores de fútbol
 
Danubia ceer exposé 20161116
Danubia ceer exposé 20161116Danubia ceer exposé 20161116
Danubia ceer exposé 20161116
 
Presentación daypo
Presentación daypoPresentación daypo
Presentación daypo
 
La profecía de Thiaoouba - Michel Desmarquet (Ebook edición 2010)
La profecía de Thiaoouba - Michel Desmarquet (Ebook edición 2010)La profecía de Thiaoouba - Michel Desmarquet (Ebook edición 2010)
La profecía de Thiaoouba - Michel Desmarquet (Ebook edición 2010)
 
Mid Season Update de Maria Pascual
Mid Season Update de Maria PascualMid Season Update de Maria Pascual
Mid Season Update de Maria Pascual
 

Semelhante a Source Code Control System (SCCS)

Semelhante a Source Code Control System (SCCS) (20)

L06 a versioning_system_overview
L06 a versioning_system_overviewL06 a versioning_system_overview
L06 a versioning_system_overview
 
Clear case
Clear caseClear case
Clear case
 
Linux week 2
Linux week 2Linux week 2
Linux week 2
 
CSA-lecture 6.pptx
CSA-lecture 6.pptxCSA-lecture 6.pptx
CSA-lecture 6.pptx
 
SVN Information
SVN Information  SVN Information
SVN Information
 
55 best linux tips, tricks and command lines
55 best linux tips, tricks and command lines55 best linux tips, tricks and command lines
55 best linux tips, tricks and command lines
 
ClearCase Basics
ClearCase BasicsClearCase Basics
ClearCase Basics
 
Linux administration training
Linux administration trainingLinux administration training
Linux administration training
 
Unix Shell Script - 2 Days Session.pptx
Unix Shell Script - 2 Days Session.pptxUnix Shell Script - 2 Days Session.pptx
Unix Shell Script - 2 Days Session.pptx
 
SVN Tool Information : Best Practices
SVN Tool Information  : Best PracticesSVN Tool Information  : Best Practices
SVN Tool Information : Best Practices
 
Linux commands
Linux commandsLinux commands
Linux commands
 
Expo ciberseguridad
Expo ciberseguridadExpo ciberseguridad
Expo ciberseguridad
 
cibers
ciberscibers
cibers
 
Embedded Linux Kernel - Build your custom kernel
Embedded Linux Kernel - Build your custom kernelEmbedded Linux Kernel - Build your custom kernel
Embedded Linux Kernel - Build your custom kernel
 
Introduction to s cons
Introduction to s consIntroduction to s cons
Introduction to s cons
 
Linux: Basics OF Linux
Linux: Basics OF LinuxLinux: Basics OF Linux
Linux: Basics OF Linux
 
BuildStuff.LT 2018 InSpec Workshop
BuildStuff.LT 2018 InSpec WorkshopBuildStuff.LT 2018 InSpec Workshop
BuildStuff.LT 2018 InSpec Workshop
 
Linux Basics.pptx
Linux Basics.pptxLinux Basics.pptx
Linux Basics.pptx
 
DevOpsDays InSpec Workshop
DevOpsDays InSpec WorkshopDevOpsDays InSpec Workshop
DevOpsDays InSpec Workshop
 
Unix cmc
Unix cmcUnix cmc
Unix cmc
 

Último

How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17Celine George
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxNikitaBankoti2
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docxPoojaSen20
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxnegromaestrong
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin ClassesCeline George
 

Último (20)

How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Role Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptxRole Of Transgenic Animal In Target Validation-1.pptx
Role Of Transgenic Animal In Target Validation-1.pptx
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
psychiatric nursing HISTORY COLLECTION .docx
psychiatric  nursing HISTORY  COLLECTION  .docxpsychiatric  nursing HISTORY  COLLECTION  .docx
psychiatric nursing HISTORY COLLECTION .docx
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17  How to Extend Models Using Mixin ClassesMixin Classes in Odoo 17  How to Extend Models Using Mixin Classes
Mixin Classes in Odoo 17 How to Extend Models Using Mixin Classes
 

Source Code Control System (SCCS)

  • 2. SCCS ● essential tool for any project with multiple source files or which has several people working with multiple source files. ● provides a way to keep track of a source file's development and to prevent it from being altered by more than one person at a time. ● first source code revision control system ● dominant version control system until the release of the Revision Control System. ● generally considered obsolete. However, its file format is still used internally by a few other revision control programs, including BitKeeper and TeamWare.
  • 3. SCCS can be used for... ● Putting files under SCCS control ● Checking out files ● Checking in files ● Getting information about files ● Creating new releases ● Comparing files under SCCS control
  • 4. Putting files under SCCS control Files are placed under the control of SCCS by making an SCCS directory and creating the SCCS file. You also have the option of placing ID keywords in each file. ● Making an SCCS directory ● Inserting SCCS ID keywords in a file ● Creating an SCCS file
  • 5. Making an SCCS directory ● To create the SCCS directory use the command: mkdir SCCS ● The directory name must be in upper case.
  • 6. Inserting SCCS ID keywords in a file ● You can put one or more ID keywords in each file. These keywords are used to display information about the file whenever a read only version is checked out. SCCS ID keywords include: %G% the date of the delta %I% sid of the retrieved text %M% the current module name %R% the current release number %W% a shorter form for %Z%%M%<tab>%I% %Z% string used by the what command
  • 7. Creating an SCCS file ● To place files under the control of SCCS use the command: sccs create filename(s) ● For each filename given as an argument sccs create does the following: ● filename is moved to ,filename ● a history file s.filename is created in the SCCS subdirectory ● a "read only" copy of the initial version of the file is made by sccs get ● You can use the ls command to check that the history files have been created. ls SCCS ● Now you can remove the ,filename files: rm ,*
  • 8. Checking out files You can check out a file to read it or edit it and then check it back in again. You can also check out earlier versions of a file. ● Check out a file for reading ● Check out a file for editing ● Check out an early version of a file ● Cancelling an editing session
  • 9. Check out a file for reading To get a copy of one of your files for reading use the command: sccs get filename To get a copy of each of your files for reading use the command: sccs get SCCS **Caution** When you have finished using a file that was fetched from SCCS by sccs get do not attempt to replace it there: remove it.
  • 10. Check out a file for editing To check out a copy of one of your files for editing use the command: sccs get -e filename SCCS will record your login name. No other users can checkout this file but they can see who it is checked out to. If a read-only copy of this file already exists then it will be overwritten. To check out a copy of each of your files use the command: sccs get -e SCCS
  • 11. Check out an early version of a file You can check out an earlier version of a file. Use the command: sccs get -r version number
  • 12. Cancelling an editing session You check out a file, edit it, and then decide that you don't want this new version. sccs unedit filename This removes the file and reverts to the previous version number.
  • 13. Checking in files After editing a file you can check it in with the command: sccs delta filename SCCS will then: ● make sure you are the user who checked it out ● ask you for a descriptive comment on the changes you have made ● record what changes have been made ● remove the writable copy of the file from the current directory
  • 14. Getting information about files SCCS provides facilities for getting the following types of information about files under its control. ● Which files are being edited? ● sccs info ● sccs info -u username ● What is the latest versions of each file? ● sccs what filename(s) ● What is the history of this file? ● sccs prt filename
  • 15. Creating new releases To begin a new release for a file you "get" it with the next release number. sccs get -e -r release_number filename For example for a file with a version of 2.4 you would want the new release to be 3. sccs get -e -r3 sect1.txt s.sect1.txt: 2.4 new delta 3.1 20 lines
  • 16. Comparing files under SCCS control You can compare any two versions of a file that is under the control of SCCS with the sccsdiff command: /usr/sccs/sccsdiff -rversion -rversion s.filename Using this command produces a line by line difference between the two versions of the file. Results are shown in the same format as that produced by the diff command.