Posts

Showing posts with the label SVN

SVN to GIT/Bitbucket Migration Steps

Please follow below steps to perform SVN to GIT/Bitbucket migration: Prerequisites: 1. Must have a RHEL-7 or higher Linux server available to perform the steps. 2. The location where you decide to create new directory as “ git_migration ” must have enough disk space to hold the final GIT repository. Check the actual source SVN repo size /root/git_migration 3. Must have installed these software/tools in server Min. JDK-8, SVN and GIT client Installation commands, if you have access to internet from Linux server and subscription is in place: yum install subversion yum install git yum install git-svn 4. Its assumes that your SVN repo uses standard directory convention as   trunk/tag/branches 5. You must have a Bitbucket/Git account created and new repository as “ mygit ” is ready to add a new repo code base. Atlassian scripts to download for basic sanity on prerequisite environment is proper or not: https://bitbucket.org/atlassian/svn-migration-scripts/downloads/ https:...

SVN Latest Batch File

Its easy to create WINDOW batch file to get latest committed code from SVN daily. Steps: 1. Create blank file as name "SVN_Update.bat" 2. Copy below highlighted red contents and paste into newly created file in step-1. :: Name : SVN_Update.bat :: Purpose : To execute all 'Start of day' tasks :: Author : Bhavin Patel :: Revision : 11-Jun-2020 - Initial version echo Hello %USERNAME%  svn update C:\SVN\branches\code\src timeout /t 5 3. Specified working local folder & Run the batch file to sync latest code from repository browser configured.