Welcome, Guest
Username Password: Remember me

SVN query for auto merging!!!
(1 viewing) (1) Guest
SVN(Subversion)
  • Page:
  • 1

TOPIC: SVN query for auto merging!!!

SVN query for auto merging!!! 1 year, 9 months ago #339

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

Re:SVN query for auto merging!!! 1 year, 9 months ago #344

  • rajeshkumar
  • OFFLINE
  • Moderator
  • I love software configuration management
  • Posts: 370
  • Points: 44591
  • Karma: 4
  • Honor Medal 2009
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
Build and Release Engineer
My Blog: community.scmgalaxy.com/pg/profile/rajeshkumar

Re: SVN query for auto merging!!! 1 year, 6 months ago #395

  • praveen
  • OFFLINE
  • Moderator
  • Posts: 43
  • Points: 3562
  • Karma: 0
  • Honor Medal 2009
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

Re: SVN query for auto merging!!! 1 year, 6 months ago #399

  • rajeshkumar
  • OFFLINE
  • Moderator
  • I love software configuration management
  • Posts: 370
  • Points: 44591
  • Karma: 4
  • Honor Medal 2009
Hi Praveen,

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

Thanks in Advance?
Regards,
Rajesh Kumar
Build and Release Engineer
My Blog: community.scmgalaxy.com/pg/profile/rajeshkumar

Re: SVN query for auto merging!!! 1 year, 6 months ago #402

  • praveen
  • OFFLINE
  • Moderator
  • Posts: 43
  • Points: 3562
  • Karma: 0
  • Honor Medal 2009
  • Page:
  • 1
Time to create page: 0.76 seconds

     
    
Home Forum