how to MFC when the target moved?

Don Lewis truckman at FreeBSD.org
Wed Jun 15 06:25:40 UTC 2016


On  2 Jun, Daniel Shahaf wrote:
> Ngie Cooper wrote on Wed, Jun 01, 2016 at 13:59:43 -0700:
>> On Wed, Jun 1, 2016 at 11:04 AM, Don Lewis <truckman at freebsd.org> wrote:
>> > I'd like to MFC r300705, which updates usr.bin/fortune/unstr/unstr.c,
>> > but fortune moved from /usr/games to /usr/bin between FreeBSD 10 and 11.
>> > What is the best way to proceed?  Manually apply the patch and direct
>> > commit?
>> 
>> Something like this is what you want to do when recording the merge..
>> Cheers!
>> -Ngie
>> 
>> cd /usr/src
>> svn merge -c <revision> --record-only ^/head
>> patch file manually
>> svn commit $PWD
> 
> That would work, but for future reference, you could do it in one
> command:
> 
>     svn merge -c r300705 ^/head/usr.bin/fortune /usr/src/games/fortune

That doesn't quite work, either.  The mergeinfo gets added to
/usr/src/games/fortune instead of /usr/src.



More information about the freebsd-hackers mailing list