Re: TortoiseMerge: "Patch all" via command line?
Neuhaus Jochen wrote:
> 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.
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