On Sun, 15 Jun 2014, Thomas Schnurrenberger wrote:

> I can reproduce this on lubuntu 14.04 LTS with Fossil compiled from trunk.

Thanks. Mine 10.04. More precision test case

 % for i in a ab abc abcd;do touch $i; f add $i; f ci -m "add $i"; sleep 1; done
 % for i in a ab abc abcd;do touch subdir/$i; f add subdir/$i; f ci -m "add 
subdir/$i"; sleep 1; done

Expected

 % f ls
 a
 ab
 abc
 abcd
 subdir/a
 subdir/ab
 subdir/abc
 subdir/abcd

But

 % tree /tmp/fusefs/checkins/trunk
 /tmp/fusefs/checkins/trunk
 |-- a
 `-- subdir
     |-- a
     |-- ab
     |-- abc
     `-- abcd

It seems there is the issue in Fossil fuse "readdir" for root items only.

Sergei

On Sun, 15 Jun 2014, Thomas Schnurrenberger wrote:

> On 15.06.2014 15:45, Sergei Gavrikov wrote:
> >
> > 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?
> >
> I can reproduce this on lubuntu 14.04 LTS with Fossil compiled from trunk.
>
> --
> tsbg
>
> _______________________________________________
> fossil-users mailing list
> fossil-users@lists.fossil-scm.org
> http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
>
_______________________________________________
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