On 12/30/2012 10:43 PM, Michael Richter wrote:
Is there any way to execute SQL statements from the command line using
fossil sqlite3? The docs for this
<http://www.fossil-scm.org/xfer/help?cmd=sqlite3> are a bit skimpy (to
say the least). Like what are the /?OPTIONS?/ mentioned, precisely?
What I'm specifically trying to accomplish is to extract the project
ID from the repository in a script file. If there's another way to do
this I'm happy to use that instead, of course.
I think "fossil info" will get what you're looking for. eg:
$ ../fossil info -R ~/fossil/test.fossil
project-name: <unnamed>
project-code: 07660919180b651835b3a51776a58007ca9fb6f9
"fossil info" calls it "project-code" but it seems to be the same thing
that "fossil new" and "fossil clone" call "project-id".
--
Edward
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users