Re: [fossil-users] does fossil rstats exist?
On Sun, Feb 22, 2015 at 2:18 PM, Martin Gagnon eme...@gmail.com wrote: Le dimanche 22 février 2015, Stephan Beal sgb...@googlemail.com a écrit : [snip] it checks out all files, but leaves out the svn-specific files (the .svn directory). It also allows you to specify a version, which 'open' does not Actually, it does ;-) https://www.fossil-scm.org/fossil/help?cmd=open Again what learned! One would think that i'd know that sort of thing by now :/. (you'd need to do an 'update' or 'checkout' between 'open' and 'close' for that effect). need is incorrect, then. Replace that with may ;). -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do. -- Bigby Wolf ___ 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] does fossil rstats exist?
On Sun, Feb 22, 2015 at 2:23 AM, jungle Boogie jungleboog...@gmail.com wrote: I think svn has something like like svn export where I can do this. Do you know if something like this in fossil exists or would you obtain the full repo? svn's export command _basically_ does the same thing as: fossil open /path/to/repo.db fossil close it checks out all files, but leaves out the svn-specific files (the .svn directory). It also allows you to specify a version, which 'open' does not (you'd need to do an 'update' or 'checkout' between 'open' and 'close' for that effect). It's mostly used for creating zip/tar files of a repo. [stephan@host:~]$ svn help export export: Create an unversioned copy of a tree. usage: 1. export [-r REV] URL[@PEGREV] [PATH] 2. export [-r REV] PATH1[@PEGREV] [PATH2] 1. Exports a clean directory tree from the repository specified by URL, at revision REV if it is given, otherwise at HEAD, into PATH. If PATH is omitted, the last component of the URL is used for the local directory name. 2. Exports a clean directory tree from the working copy specified by PATH1, at revision REV if it is given, otherwise at WORKING, into PATH2. If PATH2 is omitted, the last component of the PATH1 is used for the local directory name. If REV is not specified, all local changes will be preserved. Files not under version control will not be copied. If specified, PEGREV determines in which revision the target is first looked up. ... -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do. -- Bigby Wolf ___ 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] does fossil rstats exist?
Le dimanche 22 février 2015, Stephan Beal sgb...@googlemail.com a écrit : [snip] it checks out all files, but leaves out the svn-specific files (the .svn directory). It also allows you to specify a version, which 'open' does not Actually, it does ;-) https://www.fossil-scm.org/fossil/help?cmd=open (you'd need to do an 'update' or 'checkout' between 'open' and 'close' for that effect). It's mostly used for creating zip/tar files of a repo. -- Martin G. ___ 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] does fossil rstats exist?
Dr. Hipp, On 21 February 2015 at 13:41, Richard Hipp d...@sqlite.org wrote: Note the date in the URL. You are looking at 5-year-old documentation. It's out-of-date. No problem! Stephan pointed me to the correct command to use--dbstat http://www.fossil-scm.org/index.html/help?cmd=dbstat Thanks, Stephan! -- --- inum: 883510009027723 sip: jungleboo...@sip2sip.info xmpp: jungle-boo...@jit.si ___ 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] does fossil rstats exist?
On Sat, Feb 21, 2015 at 9:34 PM, jungle Boogie jungleboog...@gmail.com wrote: Link to the page regarding it is broken: http://www.fossil-scm.org/index.html/doc/2010-01-01/www/cmd_rstats.wiki and it doesn't work as a command: % fossil rstats fossil: unknown command: rstats fossil: use help for more information Try 'dbstat' - that might give you the info you want. SQLITE_READONLY: statement aborts at 44: [CREATE TABLE IF NOT EXISTS vcache( vid INTEGER, -- checkin ID fname TEXT, -- filename rid INTEGER, -- artifact ID PRIMARY KEY(vid,fname) ) WITHOUT ROWI Database Error attempt to write a readonly database: {CREATE TABLE IF NOT EXISTS ... Any clues on how I can clear this up? I've cloned the entire fossil repo again and again but the same problem occurs. Your db _and_ the directory it lives in must be writable to your server process. Yours is apparently not. Make both writable to the server process and this should go away. -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal Freedom is sloppy. But since tyranny's the only guaranteed byproduct of those who insist on a perfect world, freedom will have to do. -- Bigby Wolf ___ 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] does fossil rstats exist?
Hi Matt, On 21 February 2015 at 14:50, Matt Welland mattrwell...@gmail.com wrote: Secondly, can you check out a specific file on a repo if you give a path? I knwo checkout but that requires a version number. The cat command might do what you want: fossil cat -r dev_branch src/readme.txt readme.txt This seems like what I would do if I have a repo checked out. What if I'm browsing your repo and there's only a couple files I want to download. I think svn has something like like svn export where I can do this. Do you know if something like this in fossil exists or would you obtain the full repo? Have a great weekend! -- --- inum: 883510009027723 sip: jungleboo...@sip2sip.info xmpp: jungle-boo...@jit.si ___ 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] does fossil rstats exist?
On Feb 21, 2015 1:34 PM, jungle Boogie jungleboog...@gmail.com wrote: Hello All, Came across this docs page today: http://www.fossil-scm.org/index.html/doc/2010-01-01/www/reference.wiki It references something I've never heard of, rstats: Deliver a report of the repository statistics for the current checkout. Link to the page regarding it is broken: http://www.fossil-scm.org/index.html/doc/2010-01-01/www/cmd_rstats.wiki and it doesn't work as a command: % fossil rstats fossil: unknown command: rstats fossil: use help for more information Secondly, can you check out a specific file on a repo if you give a path? I knwo checkout but that requires a version number. The cat command might do what you want: fossil cat -r dev_branch src/readme.txt readme.txt finally, I attempting to edit www/stats.wiki but did it wrong and now my local repo reports: SQLITE_READONLY: statement aborts at 44: [CREATE TABLE IF NOT EXISTS vcache( vid INTEGER, -- checkin ID fname TEXT, -- filename rid INTEGER, -- artifact ID PRIMARY KEY(vid,fname) ) WITHOUT ROWI Database Error attempt to write a readonly database: {CREATE TABLE IF NOT EXISTS vcache( vid INTEGER, -- checkin ID fname TEXT, -- filename rid INTEGER, -- artifact ID PRIMARY KEY(vid,fname) ) WITHOUT ROWID} Any clues on how I can clear this up? I've cloned the entire fossil repo again and again but the same problem occurs. Thanks! -- --- inum: 883510009027723 sip: jungleboo...@sip2sip.info xmpp: jungle-boo...@jit.si ___ 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
Re: [fossil-users] does fossil rstats exist?
On Feb 21, 2015 6:23 PM, jungle Boogie jungleboog...@gmail.com wrote: Hi Matt, On 21 February 2015 at 14:50, Matt Welland mattrwell...@gmail.com wrote: Secondly, can you check out a specific file on a repo if you give a path? I knwo checkout but that requires a version number. The cat command might do what you want: fossil cat -r dev_branch src/readme.txt readme.txt This seems like what I would do if I have a repo checked out. What if I'm browsing your repo and there's only a couple files I want to download. I think svn has something like like svn export where I can do this. Do you know if something like this in fossil exists or would you obtain the full repo? If you have the fossil cloned: fossil cat src/readme.txt -R myfossil.fossil Otherwise from the ui you can download files or the entire repo as a zip or tar. Keep digging around, you'll find it. Have a great weekend! -- --- inum: 883510009027723 sip: jungleboo...@sip2sip.info xmpp: jungle-boo...@jit.si ___ 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
Re: [fossil-users] does fossil rstats exist?
Hi Matt, On 21 February 2015 at 19:56, Matt Welland mattrwell...@gmail.com wrote: I think svn has something like like svn export where I can do this. Do you know if something like this in fossil exists or would you obtain the full repo? If you have the fossil cloned: fossil cat src/readme.txt -R myfossil.fossil Otherwise from the ui you can download files or the entire repo as a zip or tar. Keep digging around, you'll find it. Yes, indeed! Found this: https://stackoverflow.com/questions/21027425/fossil-scm-pulling-only-a-specific-file http://server/doc/version/path-to-file -- --- inum: 883510009027723 sip: jungleboo...@sip2sip.info xmpp: jungle-boo...@jit.si ___ 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] does fossil rstats exist?
On 2/21/15, jungle Boogie jungleboog...@gmail.com wrote: Hello All, Came across this docs page today: http://www.fossil-scm.org/index.html/doc/2010-01-01/www/reference.wiki Note the date in the URL. You are looking at 5-year-old documentation. It's out-of-date. -- D. Richard Hipp d...@sqlite.org ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] does fossil rstats exist?
Hello All, Came across this docs page today: http://www.fossil-scm.org/index.html/doc/2010-01-01/www/reference.wiki It references something I've never heard of, rstats: Deliver a report of the repository statistics for the current checkout. Link to the page regarding it is broken: http://www.fossil-scm.org/index.html/doc/2010-01-01/www/cmd_rstats.wiki and it doesn't work as a command: % fossil rstats fossil: unknown command: rstats fossil: use help for more information Secondly, can you check out a specific file on a repo if you give a path? I knwo checkout but that requires a version number. finally, I attempting to edit www/stats.wiki but did it wrong and now my local repo reports: SQLITE_READONLY: statement aborts at 44: [CREATE TABLE IF NOT EXISTS vcache( vid INTEGER, -- checkin ID fname TEXT, -- filename rid INTEGER, -- artifact ID PRIMARY KEY(vid,fname) ) WITHOUT ROWI Database Error attempt to write a readonly database: {CREATE TABLE IF NOT EXISTS vcache( vid INTEGER, -- checkin ID fname TEXT, -- filename rid INTEGER, -- artifact ID PRIMARY KEY(vid,fname) ) WITHOUT ROWID} Any clues on how I can clear this up? I've cloned the entire fossil repo again and again but the same problem occurs. Thanks! -- --- inum: 883510009027723 sip: jungleboo...@sip2sip.info xmpp: jungle-boo...@jit.si ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users