Apache Subversion Interview Questions for Freshers Part – 2

Apache Subversion Interview Questions Part – 2
What Do You Mean By “synchronizing With Repository” ? How Is It Different From “update” ?
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.
Difference Between Update And Commit ?
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.
How To Apply A Patch In Svn ?
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”.
What If Svn Update Gives Merge Conflicts And You Just Want Your Local Files To Be Overriden With The Repository Versions ?
We can use “Update to Revision”.
How To Add Svn File?
svn add filename.php
How To Add Svn Folder?
svn add foldername
How To Get Updates From Svn Repo?
svn update
How To Delete File From Svn Repo?
svn delete filename
How To Get Svn Info?
svn info
How To Get Svn Log For A File?
svn log testFile.php
How To Check For Modifications?
svn status -v PATH
Difference Between Svn Commit And Svn Update?
SVN commit:
: Push (upload) the local changes to Repository.
SVN Update:
: Get (download) the Repository changes files to local system.

Related

Interview Questions 6717134065094109236

Post a Comment

emo-but-icon

item