TortiseSVN integration: Hide temp files from Eclipse

Support for our DiffMerge utility.

Moderator: SourceGear

Post Reply
DanNeely
Posts: 4
Joined: Thu May 10, 2012 8:45 am

TortiseSVN integration: Hide temp files from Eclipse

Post by DanNeely » Thu Feb 21, 2013 8:55 am

I'm using DiffMerge as the default diff tool with TortiseSVN. When comparing a file against the checked in version a temp file (ex __5B1A.tmp) is created in the same location as the file I'm looking at. Eclipse refreshes the navigator pane automatically adding the files to its list. This is just a cosmetic nuisance for most files, but a non-Android Layout file in the layout folder results in a compile failure meaning I can't keep the diff window open if I want to make a new build (eg to make sure any pre-commit cleanup didn't break something).

jeffhostetler
Posts: 534
Joined: Tue Jun 05, 2007 11:37 am
Location: SourceGear
Contact:

Re: TortiseSVN integration: Hide temp files from Eclipse

Post by jeffhostetler » Thu Feb 21, 2013 2:14 pm

DiffMerge creates the __file__ tempfiles in the same directory as
one of the files in the set. And this is hard-coded. (I just looked
at the source and confirmed that there isn't an environment variable
option to override that. Sorry.)

However, the temp files are only created as backing for editing, so
if you launch DiffMerge with -ro2, the right side will be read-only
and no temp file will be created.

I don't know if that will work for you in all cases, but it's worth a try.

DanNeely
Posts: 4
Joined: Thu May 10, 2012 8:45 am

Re: TortiseSVN integration: Hide temp files from Eclipse

Post by DanNeely » Thu Feb 28, 2013 2:17 pm

I've never never used the edit feature when doing a diff, so that works. Thanks.

Post Reply