Request: Swap currenly open files button

Support for our DiffMerge utility.

Moderator: SourceGear

Post Reply
msejensen
Posts: 1
Joined: Mon Dec 16, 2013 1:33 am

Request: Swap currenly open files button

Post by msejensen » 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: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Request: Swap currenly open files button

Post by Beth » Mon Dec 16, 2013 2:22 pm

I've added a feature request for this functionality. Thank you for your feedback.

V: G0858
Beth Kieler
SourceGear Technical Support

IvanFerrer
Posts: 2
Joined: Fri May 04, 2018 4:09 am

Re: Request: Swap currenly open files button

Post by IvanFerrer » Fri May 04, 2018 4:27 am

Beth wrote:I've added a feature request for this functionality. Thank you for your feedback.

V: G0858
Hi 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)
Thanks
Regards

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Request: Swap currenly open files button

Post by Beth » 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 Kieler
SourceGear Technical Support

IvanFerrer
Posts: 2
Joined: Fri May 04, 2018 4:09 am

Re: Request: Swap currenly open files button

Post by IvanFerrer » 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 all

path\to\sgdm.exe -shex file1 file2
Hurray!
Regards

Post Reply