Page 1 of 1

Limiting the scan depth for projects with many files / dirs

PostPosted: Thu Aug 07, 2008 2:14 pm
by svieira
Hi,

In my team we are working with projects which generate lots of files and directories under certain paths within the working copy of the project we are working on.

This is a bit of a problem, sicne syncrosvn parses the whole directory tree every time we change working folder.

It would be great if there was an option for setting the scan depth, or paths to ignore ( or both :) )

Thanks

Re: Limiting the scan depth for projects with many files / dirs

PostPosted: Thu Aug 07, 2008 3:20 pm
by sorin
Hello,

If there are many unversioned files which will remain unversioned you should add them to the svn:ignore list (right click in the Working Copy view and select Add to svn:ignore). If all or most files are versioned you cannot limit the depth of the Refresh action. We will consider allowing the user to set a limit on the depth of the directory tree scanned by the Refresh action in a future version of Syncro SVN Client. This limit could be a problem when you want to see quickly if there are files that were modified in the working copy and to find the location of these files quickly after switching the working copy.


Regards,
Sorin

Re: Limiting the scan depth for projects with many files / dirs

PostPosted: Fri Aug 08, 2008 8:59 am
by svieira
Hi,

More than the unversioned files, which, as you said, can be set with svn:ignore, the problem comes more with the depth and the amount of files which are in our repository, and that most of the projects are not in local drives, but in network - samba shared, filesystems.

Another solution would be to do a scan first, but then cache in memory its result, so that when we switch workspaces, syncrosvn does not take several minutes to refresh.

Re: Limiting the scan depth for projects with many files / dirs

PostPosted: Fri Aug 08, 2008 9:21 am
by sorin
If the cached file trees of the working copies are large as in your case the memory necessary for caching the file trees is large. This will slow down the application. I think the option for limiting the scan depth is better.


Regards,
Sorin

Re: Limiting the scan depth for projects with many files / dirs

PostPosted: Wed Aug 13, 2008 12:42 pm
by svieira
That would be great, thanks! :)

Re: Limiting the scan depth for projects with many files / dirs

PostPosted: Mon Mar 08, 2010 4:02 pm
by sorin
Hello svieira,

I just wanted to let you know that starting with version 5.1 which we will release soon (in one or two weeks probably) the content of the working copy will be cached. When you switch between SVN Client and other applications the refresh will be able to detect the changes of the working copy which will make the refresh operation much faster.


Regards,
Sorin