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

Re: FreeBSD project and subversion.

From: Alfred Perlstein <bright_at_mu.org>
Date: Fri, 01 Feb 2013 11:11:05 -0500

On 1/31/13 12:08 PM, Stefan Sperling wrote:
> On Thu, Jan 31, 2013 at 10:37:14AM -0500, Alfred Perlstein wrote:
>> FreeBSD has moved to Subversion a few years ago and it's worked
>> very, very well for us.
> Thanks! That's encouraging to hear.
>
>> The one area where we are having issues is merging code from project
>> branches back into trunk.
>>
>> The typical workflow is:
>> 1) create project branch.
>> 2) code code code.
>> 3) sync from HEAD (this works great).
>> 4) repeat steps 2+3 until feature is complete.
>> 5) svn diff and apply to head then commit.
>>
>> Is there a way to do 5 automatically?
>>
>> I think the worry is mergeinfo from the project branch coming back
>> into HEAD.
>>
>> Any tips would be appreciated.
> I've read the FreeBSD svn merging docs some time ago. I'm not sure if
> changes have been made since, but it was probably an older version
> of what currently lives at this URL:
> http://www.freebsd.org/doc/en_US.ISO8859-1/articles/committers-guide/subversion-primer.html
>
> Back then I was somewhat worried that apparently the person who wrote them
> didn't really understand much about how merges in Subversion work.
>
> There was irrational fear of mergeinfo propagation, to the point where
> the recommended practice is to remove mergeinfo before commit, which
> any Subversion user with a clue will know is very wrong (expect in very
> exceptional circumstances and only if you are equipped with sufficient
> expertise to deal with the consequences).
>
> What surprised me also was a complete lack of mention of the --reintegrate
> option, which I suspect must be causing quite a lot of grief among FreeBSD
> developers due to bogus conflicts during merges back into FreeBSD's head
> branch (i.e. the trunk).
>
> We'll need more details to help you in a constructive way, though.
> Can you provide more details about your steps 1 to 5, i.e. show the
> exact commands you're running in each step? The repository is public,
> after all, which will help greatly with identifying and reproducing
> specific problems.
>
> I'm happy to provide input for improving FreeBSD's docs to the point
> where FreeBSD makes the best possible use of Subversion 1.7's merge
> implementation, and can also provide some hints as to how future versions
> of Subversion will improve to make life easier in certain cases.
>
> BTW, I went over one of FreeBSD's svn wiki pages a while back, and added
> answers to open questions on this page:
> https://wiki.freebsd.org/SubversionMissing

Thank you Stefan,

So I have two answers here:

1) about mergeinfo
It seems as if doing it all at the top can make merges over long haul
internet very painful.

2) about reintegrate
I've attached the two messages that show what makes FreeBSD gun shy
about merges to HEAD.
Maybe these issues are resolved, or maybe the developer did something
incorrect, or maybe something else entirely different happened.
See attached.

Thank you,
-Alfred

attached mail follows:


attached mail follows:


Received on 2013-02-01 17:11:53 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.