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

Re: TortoiseMerge: "Patch all" via command line?

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Tue, 19 Aug 2008 21:15:12 +0200

Neuhaus Jochen wrote:
> Hello,
>
> I am trying to use to tortoisemerge in a batch file to apply a patch
> automatically to a working copy. Right now, the command line:
>
> tortoisemerge /diff:"%PATCHFILE%" /patchpath:"%DESTINATIONWORKINGCOPY%"
>
> opens the tortoisemerge GUI where I have to select "Patch All" with the
> mouse to really apply the patch.
>
> In the release notes of tortoisesvn, I found this:
> Version 1.0.1:
> - NEW: Autopatch function to patch all files
> automatically. (Stefan)
>
> Is there a command line switch to apply a diff automatically (if there
> are no conflicts of course)?

Sorry, no. There is no command line switch available to apply a patch
automatically. But for automatically applying a patch, you should use
the GNU patch tool which is a command line tool and perfectly suited for
such automated tasks.

Stefan

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

Received on 2008-08-19 21:15:38 CEST

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