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

Re: Creating patch files

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Tue, 04 Aug 2009 09:38:34 +0200

On 03.08.2009 21:56, Robert Dailey wrote:
> Hello,
>
> Using the latest TortoiseSVN nightly build, I went to "Show Log" for a
> specific project. I selected 2 revisions and selected "View unified
> diff", and then I saved the unified diff as a patch file. The name of
> the project I created this patch file for was Project1.
>
> I also have Project2, Project3, and Project4. All 3 of these other
> projects have the same files with more or less the same file contents. I
> want to apply this single patch to all 3 of the other projects, however
> it will not let me because the patch file I created is specific to
> Project1 only.
>
> Is there a way to generalize the patch file so I can apply it to other
> projects?

You can edit the patch file and remove the first part of the paths shown
in that file so it only has relative paths.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2379901
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-08-04 09:38:57 CEST

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