[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: Daniel Becroft <djcbecroft_at_gmail.com>
Date: Tue, 4 Aug 2009 15:01:50 +1000

On Tue, Aug 4, 2009 at 1:32 PM, Robert Dailey <rcdailey_at_gmail.com> wrote:

> On Mon, Aug 3, 2009 at 8:52 PM, Kevin Grover <kevin_at_kevingrover.net>wrote:
>
>>
>> On Mon, Aug 3, 2009 at 12:56 PM, Robert Dailey <rcdailey_at_gmail.com>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?
>>>
>>> ---------
>>> Robert Dailey
>>>
>>
>>
>> Google: tsvn patch
>>
>> It's the first hit.
>>
>> You can also search the manual for patch.
>>
>> Took me 10 times longer to write this reply than to find the answer.
>
>
> Epic Fail. You did not read my question. I would be more inclined to be
> thankful for your help if you weren't being so arrogant. If you are annoyed
> at helping people (and if that much is obvious in your responses), then you
> should not be helping at all. You do nothing more than upset people.
>
> Anyway, back on topic. My question was not specific to how to make a patch
> in general, as I already know how to do that. If you read what I originally
> posted, my question was in regards to *applying* the patch. More
> specifically, applying the same patch to multiple (different) working
> copies. Each working copy will not point to the same location in the
> repository. From my investigation so far this does not seem to be possible.
> I would appreciate some clarification on the matter, though.
>

The paths within the patch will be created based on the folder where the
"Show Log" was initiated from. For example, if I have the following folder
structure:

trunk\alpha\beta\delta

and I select "Show Log" for trunk, the path will be
alpha\beta\delta\file.txt.

If I select "Show Log" for beta, the path will be delta\file.txt

Cheers,
Daniel B.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2379853

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-08-04 07:14:46 CEST

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

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