$ uname -a
Linux delora 2.6.24-24-386 #1 Tue Jul 7 19:12:52 UTC 2009 i686 GNU/Linux


SYNOPSIS:

When presented with self-referencing symbolic links, 
fossil seems to keep adding real files until some large
maximum [something] is reached.


DETAILS:

I downloaded webmachine and ran the quickstart.
http://bitbucket.org/justin/webmachine/wiki/QuickStart

The quickstart procedure gives me a /tmp/mywebdemo directory with
code and symbolic links back to the installation location of
webmachine.  I added more code into the src directory for my
testing.

I decided I wanted to version control some tests I had that
were working.

I went to my docs directory where a repo is already open and did

  $ mkdir webmachine
  $ cp --recursive /tmp/mywebdemo webmachine
  $ du -Ls webmachine
  4124    webmachine/

  $ fossil add webmachine
  $ fossil ci -m "added webmachine demo"

Oops, now my repository file is about 13.5 MegaBytes larger,
not 4 MB larger as I expected.  Apparently, fossil kept
referencing a symbolic-link loop between the webmachine
installation and the /tmp/mywebdemo directory.

I think it is in the deps subdirectory.


Anyway, I gave the above detail in case you want to reproduce
the same scenario.


I suspect that any self-referencing symbolic links would
cause a similar [what I consider] problem.


I tried an undo and revert but they apparently don't work
on a checkin.


 QUESTION:

 1) Did I really find a bug or would there have been some kind
    of extra argument I could have used - something like 
    "don't follow symbolic links" (well, not loops anyway).

~Michael
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to