On 07.10.2011 01:09, Gilles wrote:
> On Thu, 6 Oct 2011 11:01:43 -0400, Tomek Kott
> <tkott.s...@gmail.com> wrote:
>> Yep, it should. It's worked for me for all of the repo's I've tried.
> So I guess WinFossil doesn't work when the repo is opened at the root
> of a partition that contains a lot of directories because it will go
> through each one looking for files that are under source control...
> which can take a look time, and can even fail if a directory contains
> characters it doesn't like.
WinFossil works if you give it time enough to do its job. ;-)
By making the drives root folder the checkout root you decided to make all the
files on the drive a maybe part of the repository.
What WinFossil does is to scan the checkout for unknown, added, deleted, changed
... files to give you all the neat icons to decide where to go and what to do.
To display the folder status, the status of the files down to the deepest nested
folders is propagated to the toplevel folders.
If your repository root is the drive, obviously all files of that drive are
scanned and on top of fossil processing all the files there is WinFossil
processing the information too to provide a graphical representation of the
folder structure and the status of the files.
That's what freezes the UI if you have a lot of files on that drive.

Running "fossil extras" from the root directory will also scan the whole drive
for files which are not part of the repository.
The command line where you issued the command will also look like frozen.
I've just checked that on my data drive and it took about four minutes for
fossil to scan the whole drive for extra files.

I think that you're using the wrong approach to version your files.
You don't need the Windows folder or other system folders to be under revision
control, right?
Normally you have a well defined set of files and folders which are subject to
revision control.
Try it this way:
Anything which should be under revision control is located in a dedicated
subdirectory, name it Data, Documents, Projects or whatever you like.
This folder should be the root for your repository.
Even better: build dedicated repositories for each of your
projects/tasks/workflows or whatever you name it.

If you insist on using the drives root as your checkout root, then WinFossil is
not your fossil Windows GUI and I think no other GUI will be. They all will have
the same problem with collecting the data necessary to provide a graphical
representation of the file and folder status.

Regarding the file/folder name characters for which the scan may fail: Richard
already answered this one.  It is fossil which doesn't like them for good
reasons. ;-)

Regards,
Ingo
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to