DirSync3 — Synchronize Directories

Here you can discuss about your favorite plug-in.
pepak
Posts: 448
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 10 times
Been thanked: 25 times

DirSync3 — Synchronize Directories

Post by pepak »

Latest post of the previous page:

That's a problem of your configuration. DirSync3 does not perform side-by-side comparison, it calls a program (e.g. WinMerge) to do that. You need to set this program up in plugin options. Then the functionality will work just fine.

User avatar
Dennis_Moore
Posts: 287
Joined: Tue 03 Mar, 2015 19:54
Location: Kiev
Has thanked: 6 times
Been thanked: 14 times

DirSync3 — Synchronize Directories

Post by Dennis_Moore »

pepak wrote: That's a problem of your configuration. DirSync3 does not perform side-by-side comparison, it calls a program (e.g. WinMerge) to do that. You need to set this program up in plugin options. Then the functionality will work just fine.
WinMerge works fine, but by default "Command used for visual compare" is VC: [what means FAR plugin Visual Compare]. I propose to change default setting in the next release to empty line or "WinMergeU.exe" and notice about it in the readme file.

And one more request. "Command used for visual compare" did not recognize environment variables. Can you solve this? Thanks.

pepak
Posts: 448
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 10 times
Been thanked: 25 times

DirSync3 — Synchronize Directories

Post by pepak »

That's definitely not true. DirSync3 does not default to Visual Compare. There isn't even any functionality for calling a plugin for visual comparison. The default command is "winmerge" (without U or .exe).

Environment variables can be arranged, will put it in my TODO list.

User avatar
Dennis_Moore
Posts: 287
Joined: Tue 03 Mar, 2015 19:54
Location: Kiev
Has thanked: 6 times
Been thanked: 14 times

DirSync3 — Synchronize Directories

Post by Dennis_Moore »

pepak wrote: That's definitely not true. DirSync3 does not default to Visual Compare. There isn't even any functionality for calling a plugin for visual comparison. The default command is "winmerge" (without U or .exe).

Environment variables can be arranged, will put it in my TODO list.
Yes, default is "WinMerge". Sorry. Maybe I was trying to use DirSync with VC file compare function [as it does AdvCmp] and forgot about it.

User avatar
Dennis_Moore
Posts: 287
Joined: Tue 03 Mar, 2015 19:54
Location: Kiev
Has thanked: 6 times
Been thanked: 14 times

DirSync3 — Synchronize Directories

Post by Dennis_Moore »

pepak wrote: Environment variables can be arranged, will put it in my TODO list.
Temporary solution. Using EnvMan with something like this:

Code: Select all

FAREXTPRG=%SYSTEMDRIVE%\Program Files\FAR_ExtPrg
PATH=%FAREXTPRG%\WinMerge;%PATH%

pepak
Posts: 448
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 10 times
Been thanked: 25 times

DirSync3 — Synchronize Directories

Post by pepak »

Version 1.02
  • If no synchronization items remained in the editor when it was being closed, the editor would reappear immediately. It was not possible to leave the editor unless at least one item remained in it.
  • When opening the editor with the differences for the first time (not using "return to editor"), the cursor is positioned at the first synchronization item.
  • The progress window no longer shows the NT schematics (\\?\) in filenames. The same is true for various confirmation dialogs.
  • Tightened checks for error conditions:
    • A source file or directory requested for synchronization does not exist at the time synchronization is to be actually performed.
    • A source directory is no longer a directory when synchronizing.
    • A destination for a directory copy exists but is not a directory.
  • When running the visual comparison command, environment variables such as %ProgramFiles% in the command get expanded.
Download

pepak
Posts: 448
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 10 times
Been thanked: 25 times

DirSync3 — Synchronize Directories

Post by pepak »

Version 1.03
  • Completely rewritten the underlying framework for my FAR plugins. As a result it will be much easier to maintain the plugin, but it is possible (likely) that in the short term, some new bugs will manifest.
  • Support for building the plugin using Delphi versions up to 10.3 Rio.
  • Fixed remembering of directories in the "files are different, which one do you want to overwrite" mode. In the old version, incorrect directories might possibly be remembered.
  • Fixed incorrect "Remember choice" checkbox caption when the "Global remember" option was active.
  • Fixed the "ignore differences in new line characters" and "ignore differences in whitespace" options which haven't been working correctly for ages.
  • Fixed the unnecessarily large size of Retry/Skip dialogs if only one file was concerned (e.g. when deleting a file).
Download
Last edited by pepak on Sun 27 Jan, 2019 17:24, edited 1 time in total.

Hedin
Posts: 207
Joined: Thu 17 Mar, 2005 10:29
Has thanked: 3 times

DirSync3 — Synchronize Directories

Post by Hedin »

pepak, PlugRing page contains binaries for FarCtags plugin, instead of DirSync3.

pepak
Posts: 448
Joined: Sun 13 Jul, 2008 11:18
Has thanked: 10 times
Been thanked: 25 times

DirSync3 — Synchronize Directories

Post by pepak »

Fixed.

Post Reply

Return to “General Plug-In Discussions”