On Fri, 13 Jun 2014, Richard Hipp wrote:

> This appears to be working now on trunk.  Get the latest code.  Rerun
> "./configure" and recompile (on a Linux system with FuseFS support -
> Ubuntu 13.10 works for me after "apt-get install fuse").  Then:
>
>      fossil fusefs /tmp/myrepo
>
> Then you can access files using things like:
>
>      ls /tmp/myrepo/checkins/4bf670e61250
>
> The "4bf670e61250" part can be replaced by any valid check-in name. 
> See http://www.fossil-scm.org/fossil/doc/tip/www/checkin_names.wiki
> for a discussion of what constitutes a valid check-in name.
  
Thanks for nice Fossil FS! I found one strange thing. One my Fossil
repository has two directories, "rootfs" and "rootfs-earth". After
fossil fuse mount `ls' could not find "rootfs" directory, but found
"rootfs-earth"

  % ls /tmp/fusefs/checkins/trunk
  ls: cannot access /tmp/fusefs/checkins/trunk/rootfs: No such file or directory

I found nothing special in my "rootfs" and I though that "rootfs-earth"
someway shadows it. The next test canvas does demo the issue, though I do
not known where is the bug, in fuse or fossil. Test on new repo

touch foo;f add foo;f ci -m "add foo"
touch foo-bar;f add foo-bar;f ci -m "add foo-bar"
mkdir bar;touch bar/.stick;f add --dotfiles bar;f ci -m "add bar"
mkdir bar-baz;touch bar-baz/.stick;f add --dotfiles bar-baz; f ci -m "add 
bar-baz"

Now there are foo, foo-bar files, and bar, bar-baz directories

  % f ls
  bar-baz/.stick
  bar/.stick
  foo
  foo-bar

Expected. Now

  % f fusefs /tmp/fusefs

And

  % ls /tmp/fusefs/checkins/trunk
  ls: cannot access /tmp/fusefs/checkins/trunk/bar: No such file or directory
  bar  bar-baz  foo

  % tree /tmp/fusefs/checkins/trunk
  /tmp/fusefs/checkins/trunk
  |-- bar-baz
  `-- foo

  1 directory, 1 file

  % ls -la  /tmp/fusefs/checkins/trunk
  ls: cannot access /tmp/fusefs/checkins/trunk/bar: No such file or directory
  total 0
  dr-xr-xr-x 2 sg sg 0 1970-01-01 03:00 .
  d--x--x--x 2 sg sg 0 1970-01-01 03:00 ..
  ?????????? ? ?  ?  ?                ? bar
  dr-xr-xr-x 2 sg sg 0 2014-06-15 16:07 bar-baz
  -r--r--r-- 1 sg sg 0 2014-06-15 16:07 foo

Can anyone reproduce this?

  % f version
  This is fossil version 1.29 [6b15019765] 2014-06-14 16:19:30 UTC

Thanks for your time.

Sergei
_______________________________________________
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