[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Merge scripts

From: Erik Andersson <kirean_at_gmail.com>
Date: Fri, 19 Feb 2010 11:26:04 +0100

Hi

Have anyone already created some scripts for making life easier using svn
1.6 merge tracking and are willing to share?

I want a replacement for svnmerge.py avail -l
Something like:
svnAvail.py -S <source>
Running: svn mergeinfo <source> --show-revs eligible | xargs -I {} svn log
-v <source> -{}

I'd like a script for merging trunk to a branch
rebase.py
1. shows available changsets with log
2. asks if you want to merge the available changesets
3. merges changes from ../../trunk (unless --trunk|-T <trunk> is specified)
(req's a /module/branches|trunk structure setup)
4. asks to commit, unless conflicts are found

And a script to reintegrate branches and recording the reintegrate changeset
as record-only in the branch)
reintegrate.py --branch|-B <branch>
1. shows available changes in the branch
2. asks if you want to merge
3. merges changes from the branch
4. asks to commit, unless conflicts are found
5. record the trunk commit as record-only
  5.1. cd <branch>
  5.2. svn merge -c XXXXX --record-only
  5.3 svn ci -m"#1234 blocking merge of <branch> to trunk"

Something like this..

Ps. I apologize if this already have been resolved and my google skills
failed me. Ds.

Cheers / Erik
Received on 2010-02-19 11:26:38 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.