I've made a bisect for on part of the problem. (for the "fossil: file
outside of checkout tree" error when doing "fossil diff etc/fstab" on the
exemple of my original post.

I found that before this change, it was working:

http://www.fossil-scm.org/index.html/fdiff?v1=d5c8419ca0c1887f&v2=04be4540a16f1f31

The other one (calling fossil timeline from a subdir etc in my exemple) was
already not working long time before... the oldest version I've try so far
is: 4b3425401f847e57991cc980122ac37a8f1d00a3 (
http://www.fossil-scm.org/index.html/info/4b3425401f).

I will try to bisect it if I found a not too old version which work..

-- 
Martin

On Sun, Aug 21, 2011 at 12:27 PM, Martin Gagnon <[email protected]> wrote:

> Hi,
>
> I try to use fossil on my root (/) file system to track changes on some
> system files (e.g.: firewall rules, passwd and group files, openssh
> config files etc...
>
> I know fossil lack of file attribute and permission saving, but I don't
> really care, I use it more to have history on files changes. Like, the
> firewall is broken, since when and what change was done on it..
>
> So I start to use it and I notice that few fossil command are broken
> when the checkout is on the root of the file system. I tried on OpenBSD
> x86_64, Linux x86_64 And OpenBSD macppc.
>
> here's a transcript of few commands from scratch which show the problem:
>
> ------------%<--------------------------------------------------------
>        root@macparrot(/)
>        # fossil ver
>        This is fossil version 1.19 [b968f023a8] 2011-08-10 15:54:38 UTC
>
>        root@macparrot(/)
>        # fossil init /tmp/test.fossil
>        project-id: f3434d3abe25797fdc8291e4688f9c0980a3004b
>        server-id:  00ebda7378b0da8debc0aebdb281d14a0d991feb
>        admin-user: root (initial password is "662f80")
>
>        root@macparrot(/)
>        # fossil open /tmp/test.fossil
>
>        root@macparrot(/)
>        # fossil add etc/fstab
>        ADDED  etc/fstab
>
>        root@macparrot(/)
>        # fossil commit -m "add fstab file"
>        New_Version: efaa6446c960dfc2493ff77b788261b9624b893c
>
>        root@macparrot(/)
>        # fossil status
>        repository:   /tmp/test.fossil
>        local-root:   ./
>        server-code:  00ebda7378b0da8debc0aebdb281d14a0d991feb
>        checkout:     efaa6446c960dfc2493ff77b788261b9624b893c 2011-08-21
>        16:14:49 UTC
>        parent:       9af1ab0ee2e22c451d608a632dbcef55e4681caf 2011-08-21
>        16:13:35 UTC
>        tags:         trunk
>        comment:      add fstab file (user: root)
>
>        root@macparrot(/)
>        # cd etc
>
> #
> # XXX: From inside a subdir, no command works, saying I'm not within an
> #      open checkout...
> #
>        root@macparrot(/etc)
>        # fossil status
>        fossil: not within an open checkout
>        root@macparrot(/etc)
>        # fossil timeline
>        fossil: use --repository or -R to specify the repository database
>        root@macparrot(/etc)
>        # cd /
>        root@macparrot(/)
>        # echo " " >> etc/fstab
>        root@macparrot(/)
>        # fossil status
>        repository:   /tmp/test.fossil
>        local-root:   ./
>        server-code:  00ebda7378b0da8debc0aebdb281d14a0d991feb
>        checkout:     efaa6446c960dfc2493ff77b788261b9624b893c 2011-08-21
>        16:14:49 UTC
>        parent:       9af1ab0ee2e22c451d608a632dbcef55e4681caf 2011-08-21
>        16:13:35 UTC
>        tags:         trunk
>        comment:      add fstab file (user: root)
>        EDITED     etc/fstab
>
> #
> # XXX: From (/), general command work, but command which take file as
> #      argument (file which are in a subdir at least) fail, it think the
> #      file is outside the checkout tree.
> #
>        root@macparrot(/)
>        # fossil diff etc/fstab
>        fossil: file outside of checkout tree: etc/fstab
> ------------%<--------------------------------------------------------
>
> In my case, my /etc directory is part of "/" partition. (it's not a
> separate moutpoint)
>
> I guess that's a bug... or there's something I do which I'm not supposed
> to..
>
> Regards..
>
> --
> Martin
>
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to