Save unified diff.

637 views
Skip to first unread message

Andrew MacKenzie

unread,
Apr 6, 2009, 12:54:12 PM4/6/09
to us...@tortoisesvn.tigris.org
We would like to be able to get a diff between two files in the repo
browser and save this to a file.

From what I have seen this is only possible on a full directory basis ("mark
for comparison" one dir then "show differences as unified diff").

We then have to awkwardly copy/paste to a new file rather than being able
to save the output.

TortoiseMerge allows us to *see* the unified diff but not save it (or
copy/paste it).

I am using TortoiseSVN 1.5.6 with a 1.4 server (for now).

Is there a way to get what I want that I have overlooked?

--
// Andrew MacKenzie | http://www.edespot.com
// GPG public key: http://www.edespot.com/~amackenz/public.key
// Wrinkles should merely indicate where smiles have been.
// -- Mark Twain

Stefan Küng

unread,
Apr 6, 2009, 12:57:37 PM4/6/09
to us...@tortoisesvn.tigris.org
Andrew MacKenzie wrote:
> We would like to be able to get a diff between two files in the repo
> browser and save this to a file.
>
> From what I have seen this is only possible on a full directory basis ("mark
> for comparison" one dir then "show differences as unified diff").
>
> We then have to awkwardly copy/paste to a new file rather than being able
> to save the output.
>
> TortoiseMerge allows us to *see* the unified diff but not save it (or
> copy/paste it).

Yes it does:
Menu "Edit->Create unified diff file" will ask you for a location to
save the unified diff file.

Stefan

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

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

To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].

signature.asc

Andrew MacKenzie

unread,
Apr 6, 2009, 1:10:38 PM4/6/09
to us...@tortoisesvn.tigris.org
+++ Stefan Küng [tortoisesvn] [Mon, Apr 06, 2009 at 06:57:37PM +0200]:

> Andrew MacKenzie wrote:
> > We would like to be able to get a diff between two files in the repo
> > browser and save this to a file.
> >
> > From what I have seen this is only possible on a full directory basis ("mark
> > for comparison" one dir then "show differences as unified diff").
> >
> > We then have to awkwardly copy/paste to a new file rather than being able
> > to save the output.
> >
> > TortoiseMerge allows us to *see* the unified diff but not save it (or
> > copy/paste it).
> Yes it does:
> Menu "Edit->Create unified diff file" will ask you for a location to
> save the unified diff file.
Ahhh, my bad. I didn't see that (kept looking under "file" for "save as
unified diff" or something).

Thanks for the reply, that works perfectly.


--
// Andrew MacKenzie | http://www.edespot.com
// GPG public key: http://www.edespot.com/~amackenz/public.key

// Jesus saves! And takes half damage.

Reply all
Reply to author
Forward
0 new messages