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

Re: Suggestion: Enable editing for both views when TMerge is invoked for diffing two files

From: Hans-Emil Skogh <Hans-Emil.Skogh_at_tritech.se>
Date: Mon, 25 Jan 2010 08:27:54 +0100

> When I select "diff" for two files in Explorer TMerge is spawned. The
> file which goes into the right view can be edited, but the one going into
> the left view cannot. It makes no sense. Why not enable editing for both
> views in this case?

I guess it is due to the added complexity of having to be able to select what file to save and such. But such practicalities aside I agree with you. It doesn't make a lot of sense.
 
A semi-reason for not allowing to edit the left file is that it's often a temporary file. But sometimes the right one is a temporary as well, and sometimes you do like to edit temporary files...
 
To make it a litle bit more smooth, maybe TSVN could tell TMerge if a file is a temporary one (by a command line argument for example) that could disable the "Save" option, but still keep the "Save as". Editing temporary files may make sense, but saving them without specifying a new filename doesn't.
 
Hans-Emil

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

To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-01-25 08:28:02 CET

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

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