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 Balanced 28th May 2024

With the delivery service offered by Balanced Bites in Dubai, UAE, you may find the ideal combination of healthy and diet friendly meals. Several tasty, nourishing foods that promote your wellness goals are included in our meal plans. Savor the ease of having chef-prepared meals delivered right to your door, which simplifies eating well.

Write a comment ...
Post comment
Cancel
profile Steven 28th May 2024

Each repo can be accessed various ways depending on where the server is hosted geometry dash.

Write a comment ...
Post comment
Cancel
profile Uniswift.pk 28th May 2024

Welcome to UniSwift, your hub for professional soccer gear. From premium cleats to high-performance jerseys, we cater to the needs of serious players. Elevate your game with UniSwift's top-quality equipment and dominate the field like never before!

Write a comment ...
Post comment
Cancel
profile inserts 23rd April 2024

Because the inserts avoid defects caused by high temperatures in welding and sharpening, the Hitachi Inserts geometric parameters of the tool are completely guaranteed by the tungsten brazing inserts insert and the insert holder, which makes the Dijet Inserts cutting performance stable, thereby increasing the tool life.

Write a comment ...
Post comment
Cancel
profile Angel 20th April 2024

Great. Thank you so much for posting this. dallas tankless water heater

Write a comment ...
Post comment
Cancel
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

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