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

Re: Patch within branch

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 14 Nov 2008 18:32:21 +0100

Kerry Carroll wrote:
> Hi all,
>
> I appended this question within a reply to an earlier post but then
> decided it deserved it's own thread.
>
> I have a patch (actually 2 different patches) that I use to maintain the
> differences between 3 separate installations of the same product. I
> came across an issue recently wherein I discovered that if I update the
> patch file in a branch and then merge everything back to the trunk, and
> make a change to my application in the trunk, I'm unable to apply the
> patch. I receive an error indicating that the patch seems out dated. I
> was able to merge my changes back to the branch and then apply the
> patch. There was a conflict which I needed to resolve but this was
> expected.
>
> I don't want to lose the ability to apply a patch after the changes have
> been merged back to the trunk and the branch is blown away.
>
> Can someone help me better understand why the patch is dependent on the
> branch? Is this a bug?

TortoiseMerge shows the message "the patch seems outdated" if the patch
cannot be applied because it doesn't match the files anymore. That
happens if either the files have been moved/renamed or modified. I don't
know exactly what you did, but using patches to keep branches up to date
seems not the right way to do things.

Stefan

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net

Received on 2008-11-14 18:32:42 CET

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

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