Help Us Improve. Please let us know if you were asked any of these questions.

More Questions

SVN ( subversion ) Interview Questions and Answers

Q1. What is "branch" , "Tag" and "Trunk" in SVN ?

Ans. 
  • Trunk is the main body of development, originating from the start of the project till end. 
  • Branch is a copy of code derived from a certain point in the trunk that is used for applying major changes to the code while preserving the integrity of the code in the trunk.
  • Trunk is a point in time on the trunk or a branch that you wish to preserve. This is like baselining the code after a major release.


Q2. what do you mean by "Synchronizing with Repository" ? How is it different from "Update" ?

Ans. Synchronizing with Repository is the process of updating the local workspace with the changes committed by others. This is different from Update as we can do Merge Manually for the Merge conflicts using this.  

Q3. Difference between Update and Commit ?

Ans. Update is used to update the local workspace with the changes commited by the team to the repository whereas Commit is the process to push changes from local to repository. 

Q4. How to apply a patch in SVN ?

Ans. First we need to "Create Patch" by making changes and generating the .diff file. Then this .diff file can be applied to the new Code base using "Apply Patch".

Q5. What if SVN Update gives Merge Conflicts and you just want your local files to be overriden with the repository versions ?

Ans. We can use "Update to Revision".

Submit a Question today. We will publish it with credits to you.
 Stay Updated with Java Posts directly to your mailbox.
Enter your email address:

'
Subscribe to Java News and Posts. Get latest updates and posts on Java from Buggybread.com
Enter your email address:
Delivered by FeedBurner
comments powered by Disqus




×

Try our new Java Interview Questions Search Tool.

There are more than 1000 questions with practice tests.

It's updated daily and It's Awesome.


×

Try our new Java Practice Test tool.

There are more than 200 questions and expanding quickly. It's updated daily and It's Awesome.