Professional Documents
Culture Documents
SVN Introduction 21aug2018
SVN Introduction 21aug2018
-Introduction
d A
in o
:V
By
Agenda
SVN-Introduction
SVN-Client Installation
SVN Life Cycle
Introduction
Version Control System (VCS) is a software
that helps software developers to work
together and maintain a complete history of
their work.
It lets user:
•
To work simultaneously on same
file/project
•
Prevent overwriting of each other’s
changes
•
Maintain history of every changes
(as version) of everything
Introduction
Example
[vinod@localhost] svn co
https://192.168.101.147:8443/svn/VLSI_ASIC/branches/verilog/
IPIP_ASIC_JUL_2018/project_groups/
G2_I2C_MASTER_Slave
Svn commit (ci)
Whenever you do changes to the working copy, it will
not reflect in SVN server. To make the changes
permanent, you need to do SVN commit.
Syntax:
[vinod@localhost]$ svn add file1 file2
Example:
[vinod@localhost] svn list –verbose
https://192.168.101.147:8443/svn/VLSI_ASIC/branches/verilog/
IPIP_ASIC_JUL_2018/project_groups/
G2_I2C_MASTER_Slave
Ouput:
879 VisualSV Aug 16 12:05 ./
Syntax:
Example:
https://192.168.101.147:8443/svn/VLSI_ASIC/branches/verilog/
IPIP_ASIC_JUL_2018/project_groups/
G2_I2C_MASTER_Slave/newfile
‘update’ command
svn update command brings changes from the repository into
your working copy. If no revision is specified, it brings your
working copy up-to-date with the HEAD revision. Otherwise, it
synchronizes the working copy to the revision given in the
argument.
Now the file is renamed only in the working copy, not in the
repository. To make the changes permanent, you need to
commit the changes.
[vinod@localhostt]$ svn commit -m “file renamed from
newfile1.txt to oldfile1.txt for purpose description”
‘resolve’ command