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

Repeated merges--anybody got any working scripts for merging?

From: Robert North <aqh4uyrs3e02_at_sneakemail.com>
Date: 2003-01-04 19:46:34 CET

I've been following the threads on merging as best I can,
I've head a few people talking about building/using some scripts to
manage branches,
but no sign of anything beyond deisgn discussion.

I now find myself in a situation where I may need some merge management
tool soon.

Before I plunge in and build my own scripts, I want to check if anyone
else has developed merge tools
that are close to my rquirements.

My requirements:
        I am running subversion as a single user, and tracking a CVS
repository.
        I intend to use branches to manage my patches against the vendor
branch, and also to manage my experimental changes that
        may or may not become part of a patch.

        Therefore I need to manage the transfer of changes from vendor
branch to my main branch, and experimental branch.
        Also I need to do merges to and from the main branch, and any
experimental branch.

To this end, I have already got a design for a branch management system
that has the following
specification:

        1. It is not designed for a multi-user environment, so may
have transaction issues.
        2. Only directories can be branched.
        3. Branches must be created by special script. This marks,
for a given directory, the copy and it's original as being managed branches.
        4. A branched directory cannot contain branched sub-directories.
        5. A branched directory can be further branched at any time.
        6. Branches must be merged by a specal merge script, to
replace "svn merge"
        7. The merge script only works on the head revision of branches.
        7. The merge script has no provision for managing merges to
undo a set of revisions.
        8. The mergescript may merge from any branch, to any other
branch.
        9. The branch create script only works on the head revision
of branches.
        10. Foolhardy use of "svn cp" and "svn merge" will be able to
defeat the automation provided by the branch and merge scripts.

If anyone knows of any scripts that implement part, all, or more of
these features I'd be extremely interested.

If anyone's interested, I could also post my design for the script on
this list.

Many thanks
    -Rob.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jan 4 19:47:26 2003

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

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