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

Re: merging suddenly doesn't work

From: Andreas Pakulat <apaku_at_gmx.de>
Date: 2006-05-12 18:32:07 CEST

On 12.05.06 16:38:43, Ryan Schmidt wrote:
> On May 12, 2006, at 15:23, Andreas Pakulat wrote:
>
> >>>So do you have a hint on how I could merge using the python script
> >>>mentioned in my original post? I mean such that the merged project ends
> >>>up in <myrepository>/project/trunk and not in
> >>><myrepository>/project/foo?
> >>>
> >>>Or am I better off using diff and patch?
> >>
> >>The svn_load_dirs.pl Perl script is designed to handle this scenario. I
> >>believe
> >>it should be described in the Vendor Branches section of the book.
> >
> >Thanks for this extensive explanation, it surely cleared up things.
> >However: I don't want to keep track of "old" revisions of aqbanking and
> >thus svn_load_dirs.pl is not really what I want.
> >
> >What I did now is something similar. Imported aqbanking/trunk into my
> >own repository and everytime I need to sync it with upstream I just
> >create a diff between the apropriate revisions like
> >
> >svn diff -r1005:10013 https://.... >r1005_r10013.diff
> >
> >apply it to a working copy of my own aqbanking and then I can merge the
> >differences to my real project (based on aqbanking source).
>
> AFAIK, that procedure will not handle directory additions or deletions or
> changes in properties, and I'm not sure what it'll do with file additions or
> deletions. It will only properly handle changes in the contents of existing
> files. So just be aware of that, and maybe play around with a few scenarios and
> try it out and see whether it handles it well enough for your needs.

I was aware of the properties issue, but not really of the rest... Hmm,
I'll have to try svn_load_dirs.pl, at worst I have to delete the old
versions...

Andreas

-- 
Save energy: be apathetic.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 12 18:33:10 2006

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.