Monday, July 5, 2010

Svn Sync Steps

I have enclosed the steps to do the svnsync option.

1). Create New Repository.(this should be empty repo in desg end)

2).  Use following command to initiate SVN Synchronize

svnsync init "Desg SVN Repo URL" "Source repo path" --source-username   --source-password --sync-username --sync-password

3). Use following command to  SVN Synchronize

svnsync sync "desg SVN repo " --source-username
  --source-password --sync-username --sync-password

Wednesday, June 30, 2010

Svn Relocate syntax in Linux and windows

I was doing integration between svn with ldap through apache initially my server has been configured through svnserve, now we have been changing those in apache. 
Once the integration I was unable to take an update from the svnserve checkout source since its having reference from that protocol that time my colleague gave this idea to implement svn relocate and it works perfectly as per our requirement.

Syntax:-

Linux:-
Svn switch -relocate svn://domainname/yourprojectname/path
http://domainname/yourprojectname/path
 
Windows:- 
Use tortoise svn -> relocate option and change the URL.