[fossil-users] current directory is not within an open checkout when viewing files in a server repository
I run a local fossil server which serves repositories. On Mac OS X I use a launchctl property list which runs fossil like this: /usr/local/bin/fossil server -P 8090 /Users/davidevans/Daves-fossil-repo There are several repositories within this directory. Recently, bug has crept in. Viewing the File List page for a repository in a browser displays an error: current directory is not within an open checkout I have bisected this error: 2013-04-22 03:50:55 d38f204d3b02815a BAD CURRENT 2013-04-22 01:33:06 7ccbf6ee6698b8f6 GOOD Checkout 7ccb gives another error: SQLITE_ERROR: no such table: main.vfile However, this does give a list of files. === Checkout d38f does seem to work in other respects. The wiki works and the repositories are cloneable. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] current directory is not within an open checkout when viewing files in a server repository
Hi David, On 4/28/2013 8:08 AM, David Evans wrote: 2013-04-22 03:50:55 d38f204d3b02815a BAD CURRENT 2013-04-22 01:33:06 7ccbf6ee6698b8f6 GOOD Sorry, this was my screwup. I see Richard's already committed a fix to trunk. Thanks for reporting this. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] current directory is not within an open checkout when viewing files in a server repository
On 28/04/2013 17:39, Joel Bruick wrote: Hi David, On 4/28/2013 8:08 AM, David Evans wrote: 2013-04-22 03:50:55 d38f204d3b02815a BAD CURRENT 2013-04-22 01:33:06 7ccbf6ee6698b8f6 GOOD Sorry, this was my screwup. I see Richard's already committed a fix to trunk. Thanks for reporting this. I was about to make a posting saying I could not reproduce the bug on FreeBSD 5.0 and 9.1 when I noticed Richard's commit. It explains why it only happened on case-insensitive file systems such as OS X. Commit is http://www.fossil-scm.org/index.html/info/30da8e8b08 Thanks. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] current directory is not within an open checkout when viewing files in a server repository
2013/4/28 David Evans dave.evan...@googlemail.com On 28/04/2013 17:39, Joel Bruick wrote: Sorry, this was my screwup. After I screwed-up first ;-) For the full history, see: http://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg11635.html I was about to make a posting saying I could not reproduce the bug on FreeBSD 5.0 and 9.1 when I noticed Richard's commit. It explains why it only happened on case-insensitive file systems such as OS X. More strange is why case-(in)sensitivity makes a difference here anyway, which makes your report one more justification for the conclusion in the mentioned thread: pages like /dir and /finfo, which don't acces the local file system, should not use the case-sensitive setting at all. I committed, the 'right' solution to trunk now. This should make Richard's commit unnecessary (filenames_are_case_sensitive() should only ever be called when the localdb is already open anyway), but it's safer to leave it in: Maybe there is another location in fossil which I'm not aware of where this rule is violated. Thanks for your report! Regards, Jan Nijtmans ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] current directory is not within an open checkout when viewing files in a server repository
On 4/28/2013 4:22 PM, Jan Nijtmans wrote: After I screwed-up first ;-) Well, fine, I guess I'll share credit with you. ;) I committed, the 'right' solution to trunk now. Great. Thanks, Jan! ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users