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

RE: Re: createpatch via commandline

From: Jeff Hedlund <jhedlund_at_gmail.com>
Date: Mon, 25 Feb 2013 06:32:27 -0800 (PST)

> On 22.02.2013 17:48, Jeff Hedlund wrote:
> >> On 22.02.2013 15:37, Jeff Hedlund wrote:
> >>> I still want to use TortoiseSVN as part of the process, to be
> >>> able to choose which files to patch for example, but I don't need
> >>> to see the file "save as" dialog - I can automate the name of the
> >>> file and save to a temporary directory, automatically upload to
> >>> our issue tracker with proper flags, etc.
> >>>
> >>> So I am looking for an /outfile parameter to the
> >>> /command:createpatch that would auto-save the resulting patch
> >>> file.
> >>
> >> svn diff path/to/file path/to/file2 > patchfile.txt
> >
> > Yes, but that doesn't give the TortoiseSVN UI of selecting the files
> > to include in the patch (see previous post).
> >
> > In our workflow, we create the patch using TortoiseSVN Create Patch
> > then selecting the appropriate files via checkboxes and also many
> > times take the opportunity to review the changes in the TortoiseSVN
> > UI before creating the patch.
>
> pass /savepath:"path/to/file/to/save" on the command line to skip the
> save-as dialog.

That is great, just what I was looking for, thanks!

Does there happen to be a command line option to not open the patch after creating it?

Thanks,
Jeff

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2013-02-25 15:44:04 CET

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

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