Subversion ,Version control system

Subversion ,Version control system

 Apache subversion (SVN ) is an open source revision control system distributed under free license.

It is used to maintain current and historical versions of file. It is successor of widely used concurrent version system. It is founded by Collabnet company .It is same as CVS with some new features than CVS and fixed some bugs of CVS. Apache Subversion is abbreviated as (SVN) .

It is founded by Collabnet in 2000 to develop an open source version control system. In November 2009 ,Subversion accepted by Apache Incubator,and this was the beginning of process to became a top-level Apache project.
Now a day’s subversion is very much popular among the developers. More than one person can work on same file by using subversion. The big benefit of using subversion is the ability to merge changes on the working file so that more than one developer can work on the same file. With Subversion each developer has its own working copy of repository. We do changes on our working copy and commits on the repository .When more than one person working on same file and using SVN then by using the update the changes done by one person can be merges on our working copy so that no conflicts arise. Conflicts are arise only when two developer made changes on same line. These can be solved manually but there is very rare chances for conflicts .So with subversion on the same project more than one developer across different countries can work .

SOME USEFUL SVN COMMANADS

 

1: Checkout command

synatx: svn checkout url
svn co url

Example: svn co http://svn.letsknowit
(This can create a copy of theranjeet.com in your default folder
To Copy it in a folder we can write our folder name to copy in a folder)
svn co http://svn.letsknowit test
(This can copy theranjeet.com in test folder)

 

2: Update command

synatx: svn update filename
svn up 
(To take the update in a folder in the site we have first go in that folder from cd command)
cd letsknowit
foldername#/ cd subfolder
foldername/subfolder# svn up

(This can update only subfolder)

Example: svn up
(This can update your current folder)
cd letsknowit
letsknowit
# svn up
(This can upadte the files of letsknowit)
cd letsknowit
letsknowit
#/ cd admin
letsknowit /admin#/ svn up
(This can update the admin folder)

 

3: Commit command

synatx: svn commit -m "message" 
svn ci -m "message" 

(This command update the file on our server)
(This command made the changes on server file what changes we have done on our own copy)

Examplesvn ci -m "update the query" post.php
cd letsknowit
letsknowit#/ cd admin
letsknowit/admin#/ svn ci -m "upadte the query in post file" post.php

 

4: Add command

synatx:svn add 
svn commit -m "message" 

(This command add a new file on the repository on the server)
After adding a new file to the repository we have to commit that file on
the server by commit commands.

Example: svn add comment.php
svn commit -m "this file is useful for comment" comment.php

 

5=>Remove command

synatx:svn remove -m "message" filepath
svn delete -m "message" filepath
svn rm -m "message" filepath

(The remove/delete/rm command used to delete the file from repository)

Example:svn remove -m "deleting this file for a purpose" http://letsknowit.com/admin/error.php

 

6: Revert command

synatx:svn revert 
(This command overwrite the local file with the repository file)

Examplesvn revert post.php

 

0   0
Aditya Singh
profile john 23rd March 2024

Our Kashmiri Gate Escort are very special for their customers. Once you are with them. You will forget the rest of the world. Advance payment not required. After arrival, you can pay the promised amount in any currency. Because of that, currently, we are the number one Kashmiri Gate Escorts service provider.

Write a comment ...
Post comment
Cancel
profile strike 18th March 2024

Indirect Investment: Definition and Types
 

Write a comment ...
Post comment
Cancel
profile sam 18th March 2024

One Stop-Shop for Retail & Restaurant Operations.

retail operations management
 

Write a comment ...
Post comment
Cancel
profile john 18th March 2024

Best MedSpa in the Greentree & Pittsburgh area providing superior aesthetic medicine for the face, body, skin and women’s wellness.

From body contouring, laser hair removal, botox, fillers, facials,
and solutions for spider & varicose veins,
we provide everything you need to feel like the best version of yourself!
 

Write a comment ...
Post comment
Cancel
profile james 18th March 2024

HVAC Software helps you organize your business to increase both proficiency and efficiency.This platform manages and tracks your customers, coordinates HVAC Job scheduling and tech dispatching, empowers back-office with easy to use estimation and invoice templates for increasing sales. Grow your HVAC profit with Field Service Management Software.
 

Write a comment ...
Post comment
Cancel
profile edward 5th March 2024

In conclusion, harnessing the power of sustainable resources is essential for building resilient and prosperous economies in the face of global challenges.

learn this here now

navigate to these guys

Write a comment ...
Post comment
Cancel
profile david 14th February 2024

Looking for premium quality jackets with a wide range of varieties. Well, Right Jackets is the place you wanna be. We deal with jackets of all types. We intend to provide our customers with the most premium quality jackets like that marlboro suede jacket. So we make our jackets

Write a comment ...
Post comment
Cancel
profile john 13th January 2024

Our sexy Chanakyapuri Escort are always ready to make you cum by sitting on your face or your dick. You just need to tell them about your choice and they will bring you the ultimate pleasure.

Write a comment ...
Post comment
Cancel
profile abdul 6th January 2024

This is such a great resource that you are providing and you give it away for free. I love seeing blog that understand the value of providing a quality resource for free. slot88

Write a comment ...
Post comment
Cancel
profile david 3rd January 2024

Hardcore Cycles Inc wasn’t just born overnight. It was nurtured and built by a group of tight knit gear heads with a passion for Thrashin Supply V-Twin. When two people decided to take the chance on an industry with a questionable future.

Write a comment ...
Post comment
Cancel
profile mimi 27th December 2023

Our Management Assignment Help UK is designed to assist students in navigating the complexities of managerial concepts and practices. MBA Assignment Help UK offers comprehensive and tailored assistance to students pursuing their Master of Business Administration degrees. 

Write a comment ...
Post comment
Cancel
profile mimi 26th December 2023

Are you grappling with Java programming assignments and seeking expert assistance? Look no further! Our Java Assignment Help UK service is designed to cater to your academic needs and ensure your success in mastering Java programming concepts. Computer Science Assignment Help UK

Write a comment ...
Post comment
Cancel
profile olivia 19th December 2023

oh this is so nice Allegiant Group Travel

Write a comment ...
Post comment
Cancel
profile 8th December 2023

Osh University, a pioneer in  postgraduate studies , offers a dynamic learning environment. Join a community of scholars committed to advancing knowledge and making a lasting impact, as Osh prepares you for leadership roles in your field of expertise.

Write a comment ...
Post comment
Cancel
profile 8th December 2023

Visit Shalamar Hospital for expert orthopedic care by our dedicated  orthopedic surgeon . With advanced techniques and personalized attention, we're committed to your musculoskeletal well-being.

Write a comment ...
Post comment
Cancel

Please rotate your device

We don't support landscape mode on your device. Please rotate to portrait mode for the best view of our site