Suggestions for the Sync window: Difference between revisions

From TotalcmdWiki
Jump to navigation Jump to search
Line 8: Line 8:


=== Ignore Source Code Control System Meta Files/Dirs ===
=== Ignore Source Code Control System Meta Files/Dirs ===
When synchronizing a local folder tree under source code control e.g. CVS (Concurrent Versions System) or SVN (Subversion) with a remote FTP server then typically the meta data folders (CVS or .svn respectively) don't need to be put onto the server. To exclude these at compare time you may use a filter ''''*.* | CVS\'''' or ''''*.* | .svn\'''' or even ''''*.* | CVS\ .svn\''''. Note the backslash


I'm developing in a team, thus using source code control systems. Namely CVS (Concurrent Versions System) and SVN (Subversion, anchestor of/the better CVS). As do many other developers, especially open source guys.
I'm developing in a team, thus using source code control systems. Namely CVS (Concurrent Versions System) and SVN (Subversion, anchestor of/the better CVS). As do many other developers, especially open source guys.

Revision as of 16:16, 26 January 2007

Improvement ideas

Don't use cache when synchronizing with FTP server

I'm using the synchronize feature very often to compare my local working copy with a remote FTP server. In that case I find it unacceptable, that TC seems to use cached file names/dates. Synchronize should do, what the name suggests: make sure, that the local copy corresponds to the server version.

You know, I'm not the only one updating the FTP server, at any time someone else might have updated the FTP server files. But, as far as I can see, TC uses it's cache, when synchronizing, at least for all directories, it has seen before.

Ignore Source Code Control System Meta Files/Dirs

When synchronizing a local folder tree under source code control e.g. CVS (Concurrent Versions System) or SVN (Subversion) with a remote FTP server then typically the meta data folders (CVS or .svn respectively) don't need to be put onto the server. To exclude these at compare time you may use a filter '*.* | CVS\' or '*.* | .svn\' or even '*.* | CVS\ .svn\'. Note the backslash

I'm developing in a team, thus using source code control systems. Namely CVS (Concurrent Versions System) and SVN (Subversion, anchestor of/the better CVS). As do many other developers, especially open source guys.

Both systems (and may be other software e.g. VSS/SCCS etc.) use META files/directories in EVERY directory of the source tree.

In case of CVS it is a subdir 'CVS' in every dir under source control containing (typically) just 3 files: 'Entries', 'Repository' and 'Root' (but e.g with TortoiseCVS there are more files).

When synchronizing such working copies recursively it's VERY, VERY annoying to see all these CVS meta dirs to show up. They hide the essence of the real change and (most of the time) have not at all to be synchronized with the destination.

The synchronization view does NOT allow for exclusion of dir names, thus it is not possible to e.g. just exclude 'CVS' direcories. Only file names are allowed. A workaround for CVS is to define a filter in the synch view: '*.*|Entries Repository Root'. This hides all the 'normal' CVS meta files and then also the whole CVS dir (but in case of TotoiseCVS you have to extend the exclude list to all found file names inside CVS meta dirs).

In case of SVN a similar workaround is NOT usable. SVN by default holds every files base revision in its meta dir '.svn' (among several other files) to speed up comparisions and not bothering the server.

I suggest either a feature to ignore DIR names in synchronize views 'compare' or maybe a special feature 'ignore Source Code Control Meta Files'.

Flag / tickbox for each folder down the list for "Ignore This Folder" in the folder name line. Or, compare-flag for the entire folder like there is for files.


First of all, this tool should display list of files that will be compared, then I'd like to have an option to exclude files/folders from that action. When I'm doing an update, that change several files, but not for sure 600mb file, I'd like to exclude that file from comparision.


Back to Internal functions