On Jul 11, 2017, at 12:32 AM, jungle boogie <jungleboog...@gmail.com> wrote:
> 
> % fossil info stuff
> 
> But that results in this error:
> SQLITE_CANTOPEN: cannot open file at line 36100 of [284707a7b3]
> SQLITE_CANTOPEN: os_unix.c:36100: (21) 
> open(/usr/home/jungle/fossil-repos/repo/stuff) - Is a directory
> fossil: [stuff]: unable to open database file
> 
> So can a tag not have the same name as its directory?

That’s not it.  If you give a file name here, Fossil assumes it is a repository 
file, and fails to open it if it isn’t a file.   You can cause the same error 
with “fossil info .”

Very early in my Fossil indoctrination process, I had the “svn info filename” 
habit beaten out of my finger memory because “fossil info” simply doesn’t do 
the same thing as “svn info”.   Consequently, my ongoing assumption up to this 
thread was that “fossil info” doesn’t accept file names; that’s what “finfo” is 
for.

That aside, I think the thing for Fossil to do here is to try looking for a 
VERSION match before testing whether the parameter names a local file.  The 
chances of a local repository file name matching a tag or version hash in the 
local repository are far smaller than having a tag or version that just happens 
to match the name of a local file.
_______________________________________________
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