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

From: Daniel Atallah <daniel.atallah_at_gmail.com>
Date: 2005-07-12 21:20:21 CEST

On 7/12/05, SteveKing <steveking@gmx.ch> wrote:
> 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

I deserve a spanking for not looking at the documentation carefully enough.

Thanks for the clarification.
-Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org