Copy only certain SVN revisions from one repositor

rajeshkumar created the topic: Copy only certain SVN revisions from one repositor
To extract a set of revisions (nn to mm) from a repository:
svnadmin dump –incremental -r nn:mm /path/to/repository > /path/to/dumpfile.svn
The –incremental option allows you to merge this set of changes without bringing the entire baseline along with the import.

To apply those revisions to a repository:
svnadmin load –ignore-uuid /path/to/repository < /path/to/dumpfile.svn The --ignore-uuid option allows the import to strip out uuid information from the source repository. I would restrict this operation to repositories with a common revision heritage otherwise the load would probably fail. Regards, Rajesh Kumar Twitt me @ twitter.com/RajeshKumarIn

Tagged :

Integrate Bugzilla with SVN

amitanand123 created the topic: Integrate Bugzilla with SVN
I need to integrate Bugzilla with SVN and for this i found a tool called SCMBUG.
I am facing problem while committing any code
Problem is
Command: Commit
Modified: D:\Tools\LogTablePurger\branches\abc\cm.txt
Sending content: D:\Tools\LogTablePurger\branches\abc\cm.txt
Completed: At revision: 1477
Error: post-commit hook failed (exit code 9) with output:
Error: Can’t call method “error” on an undefined value at /var/svn/repositories/LG/hooks/lib/scmbug/Scmbug/Common.pm line 221.

I have checked Common.pm and comment the code
# $logger->error( $error_string );
(which is not a right approach as we need to catch the error log message)

OR

Anyone suggest me any other tool to integrate Bugzilla with SVN

Thanks in advance

Tagged :

SVN query for auto merging!!!

vijayakumar.cm created the topic: SVN query for auto merging!!!
I need a solution for this auto merging strategy in SVN.

My directory structure:
Two branches:
/main_branch/sourcecodefiles
/build_branch ร  copy of a main branch

รจ Development happens only in main branch
รจ no one will commit in build_branch

My Requirement is: Whenever commit happens in main_branch , it should automatically merge the changes in to build branch (i.e it has to merge the changes and commit a new version of it)

There is no need for reverse merging since no changes will get committed in build branch, also it reduces the risk of merge conflicts.

Please let me know if anyone already has solution for this.

Regards,
Vijay

rajeshkumar replied the topic: Re:SVN query for auto merging!!!
SVN is not much smart enough in case of conflict.

if conflict arises you will have to do manually.

Refer more for
svnbook.red-bean.com/en/1.0/re16.html
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

mnanjala replied the topic: Re: SVN query for auto merging!!!
svnmerge.py will do it but you should write a shell script it will call that svnmerge.py tool once check in happened u can call this script by continuous integration server like Hudson

rajeshkumar replied the topic: Re: SVN query for auto merging!!!
Hi Praveen,

Can you please share the soruce link of svnmerge.py and implementation details.

Thanks in Advance?
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

mnanjala replied the topic: Re: SVN query for auto merging!!!
www.orcaware.com/svn/wiki/Svnmerge.py

Tagged :

Need to mirror SVN Repository from remote server to a WindowsDevServer

Sne created the topic: Need to mirror SVN Repository from remote server to a WindowsDevServer
I am trying to create a backup of SVN Repository which is remotely located.

AM trying to have the backup on Windows Dev Server. (Am not used to Windows ๐Ÿ™

I have created a new repository on Windows Server.
Updated the required hooks
and using svnsync for the backup operation.

It worked fine till
committed revision 1.
copied properties for revision 1

…..

committed revision 1.
copied properties for revision 1

…..

Transmitting file data…….
……

And its stuck.
The Repo size is approx 1.2GB

I need to even automate this on Windows server.

Can anybody share inputs who is an expert on Windows or have done this before.

Thanks

Tagged :

ClearCase to SVN migration

vijayakumar.cm created the topic: ClearCase to SVN migration
Hi,

I have done the successful migration form CVS to SVN,now i need to migrate few projects from Clearcase to SVN. Could anyone please give some ideas on this?

Thanks,
Vijay

rajeshkumar replied the topic: Re:ClearCase to SVN migration
There were a couple of relevant talks at SubConf:

MM4: Lutz Dornbusch, Polarion: Zero Downtime Migration to Subversion
www.subconf.de/fileadmin/PDF_Dateien/Sub…onf_2008/Vortraege/L
utz_Dornbusch-Zero_Downtime_Migration.pdf

MM5: Robert Cowham and Neal Firth, Vizim: Migrating ClearCase to Subversion
www.subconf.de/fileadmin/PDF_Dateien/Sub…onf_2008/Vortraege/R
obert_Cowham_and_Neal_Firth__Madrid_.pdf

www.unix-girl.com/cc2svn/

Both were well received from what I saw, but I think our approach covers
more options – but then I would say that ๐Ÿ™‚
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Button replied the topic: Re: ClearCase to SVN migration
Hi Vjay,

Been looking to do something similar myself (migrate from clearcase to subversion that is), and I’ve evaluated a number of tools out there, but all of them appear to have their gaps. The best one I’ve seen so far is www.clearvision-cm.com/clearcase-subversion-migration.html but before purchasing it, I thought I’d check to see which one you used (seeing as this is a fairly old topic now) incase there are any I havn’t seen yet. That one seems pretty complete from what I can tell, but what with it being all our company data I want to make sure I haven’t missed anything

Tagged :

SVN – Bugzilla Integration

vivek2 created the topic: SVN – Bugzilla Integration
Hi,

Please help me some one that how to integrate bugzilla and svn.

Regards,
Justin

sandeeps replied the topic: Re: SVN – Bugzilla Integration
Integration of Subversion with Bugzilla is possible using Scmbug, a system providing generic integration of Source Code Configuration Management with Bugtracking. Scmbug is available at freshmeat.net/projects/scmbug/ .

Tagged :

Configure LDAP in SVN

rajeshkumar created the topic: Configure LDAP in SVN
There is one questions i got in morning. I am lil busy. Any one can reply to this….?

Hi Rajesh,
Can you please help me to configure LDAP in SVN,i checked with some of my friends but i am not able to understand that.If you having any document related to LDAP configuration please send to me or you replay here also.
Thanks & Regards
Sujeet Sahu
M:0XXXXXXXXXXX
Mail id: sahusujeet@ymail.com
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :

Auto merge of svn branches

suresh created the topic: auto merge of svn branches
Hi

How to proceed in merging two svn branches. Is there any plugin or should we go with scripting.

Can anyone give me idea on this.

I used to do manual merge in svn or use svn merge command.

rajeshkumar replied the topic: auto merge of svn branches
I have used svn merge widely and most of the time. many times compare tools as well. Today i am back to work. let me find some other tools and share here….Stay tuned…
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

suresh replied the topic: auto merge of svn branches
Used tortoise svn and selected svn revisions and merged

Tagged :

Trunk vs branch vs tag in subversion or SVN

rajeshkumar created the topic: trunk vs branch vs tag in subversion or SVN
Difference between trunk, branch and tag in SVN, CVS or Subversion
Technically all three i.e. trunk, branch and tag are folders in SVN. If you are using tortoise SVN, a popular windows client for subversion, you can explore trunk, branch or tag. If you browse SVN repository using Repo browser or simply open it on any browser e.g. Internet explorer, you will generally see three directories as trunk, branch and tags at root of project. This is actually one of SVN best practice to create this kind of directory structure. As I said earlier, trunk is place where main development happens, and branches are places where different developer work on different functionalities. This division is purely based on how programmer uses trunk and branches. Similarly, tags are used to backup releases e.g. alpha release or beta release or any version of release. Main difference between branch and tag in subversion is that, tag is a read only copy of source code at any point and no further change on tag is accepted, while branch is mainly for development. Other source control like CVS doesn’t allow modification on tags but SVN allows changes on tags, which is considered as bad practice. You should not be making any change on tag once created, it should be treated as read only copy of source code only for restore purpose.

In short
– A trunk in SVN is main development area, where major development happens.
– A branch in SVN is sub development area where parallel development on different functionalities happens. After completion of a functionality, a branch is usually merged back into trunk.
– A tag in SVN is read only copy of source code from branch or tag at any point of time. tag is mostly used to create a copy of released source code for restore and backup.

That’s all on difference between trunk, branch and tags in Subversion or SVN. They are mostly categorized based upon there usage. Though trunk, branch and tag are quite common words in source control, and other SCM also uses these words, there behavior may be little different on other SCM, so don’t forget to check SCM documentation.
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn

Tagged :