Request: Swap currenly open files button

Support for our DiffMerge utility.

Moderator: SourceGear

 msejensen Posts: 1Joined: Mon Dec 16, 2013 1:33 am Posted: Mon Dec 16, 2013 1:46 am I would appreciate a swap files button in DiffMerge. Reason for this is that I start a diff using command line arguments from another tool (Perforce). Because of this I cannot control the ordering of the files and 50% of the time I get the files on the wrong side. Using the swap button in the File -> Open File Diff... won't work because it doesn't show the currently open files, and because one of the files doens't really exist, as it's only created temporarily in a temp directory by Perforce.
 Beth Posts: 8550Joined: Wed Jun 21, 2006 8:24 pmLocation: SourceGear Posted: Mon Dec 16, 2013 2:22 pm I've added a feature request for this functionality. Thank you for your feedback.V: G0858 Beth KielerSourceGear Technical Support
 IvanFerrer Posts: 2Joined: Fri May 04, 2018 4:09 am Posted: Fri May 04, 2018 4:27 am Beth wrote:I've added a feature request for this functionality. Thank you for your feedback.V: G0858Hi Beth.Please add my upvote to this feature or at least being able to swap files when running from command line with two files.As OP says, the Open File Diff dialog doesn't show current open files. Looks like a bug. (version 4.2.0)ThanksRegards
 Beth Posts: 8550Joined: Wed Jun 21, 2006 8:24 pmLocation: SourceGear Posted: Fri May 04, 2018 8:51 am Thank you for your feedback. I've added your vote to the request. F: 19956, V: G0858 Beth KielerSourceGear Technical Support
 IvanFerrer Posts: 2Joined: Fri May 04, 2018 4:09 am Posted: Mon Oct 22, 2018 10:02 am Hi.Today I discovered the command line option '-shex' which will show the files dialog at the start. Running from command line like this will let us swap/change files:Code: Select allpath\to\sgdm.exe -shex file1 file2Hurray!Regards