# Re: [TSVN] Re: "Apply Patch" context menu item missing for single file selection

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-07-12 21:01:59 CEST

Daniel Atallah wrote:

> as a continuation of the public conversation with myself...
>
> I realized that the patch created from the single file "Create Patch"
> can be applied at the parent directory level (i.e. a patch created on
> "c:\project\src\testfile.c" can be applied from the "Apply Patch" menu
> item on the "c:\project\src\" context menu).
>
> So, perhaps this isn't really a bug (I don't know if TortoiseMerge can
> handle applying a patch to a single file).

Yes, you can apply a patch only to directories. And even if you don't
specify the correct dir, TMerge will try to find the correct one.
Once the dir matches the files in the patchfile, TMerge will show you a
small window with all the files the patchfile contains, and you can
apply the patch to all or just a few files - as you want.

Or, you can right-click on the patchfile itself - if it's in the working
copy where the patchfile should be applied to, you don't even have to
specify the target folder.

Stefan

--
___
oo  // \\      "De Chelonian Mobile"
(_,\/ \_/ \     TortoiseSVN
\ \_/_\_/>    The coolest Interface to (Sub)Version Control
/_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org