[fossil-users] Adding settings
Is there an easy way to add settings (preferably on a per-repository base) to the `fossil settings` command? And if so, is there an easy way to also add them to the web interface? -- ˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] fossil hangs during pull
Hello, on my OS X 10.6.8 client, fossil hangs during pull. I have a fossil repository with the fossil sources cloned from www.fossil-scm.org, and I just updated that successfully. This is under Solaris 10. This clone has no local additions. I just use it for the documentation it contains, and for learning. It is served to local clients via Apache and CGI. I have cloned this clone on an OS X 10.6.8 client, and am trying to pull from the Solaris server. My Solaris and OS X fossil binaries both say: This is fossil version 1.21 [002580c50d] 2011-12-13 13:53:56 UTC I compiled them both myself. This is the output on the client: % fossil pull http://oak/cgi/fossil.fossil -R fossil Bytes Cards Artifacts Deltas Sent: 177 2 0 0 Received:2516 55 0 0 Sent:2715 56 0 0 Received: 153782109 3 51 Sent:5112107 0 0 Received: 72081160 2103 Sent:5112107 0 0 Received: 177468160 7 98 Sent:4830101 0 0 processed: 90% fossil continuously uses 100% CPU after that. Does anyone have an idea what to do now? The rest of this message contains a sample from output of the OS X Dtrace utility dapptrace collected while fossil was hung. Thanks, Rainer -- Rainer J. H. Brandt Brandt Brandt Computer GmbH Am Wiesenpfad 6, 53340 Meckenheim Geschäftsführer: Rainer J. H. Brandt und Volker A. Brandt Handelsregister: Amtsgericht Bonn, HRB 10513 RFC 5322: Each line [...] SHOULD be no more than 78 characters Fossil trace excerpt: - sqlite3VdbeReset = 214 - sqlite3_reset = 182 - db_check_result(0x0, 0x0, 0x0) - db_check_result = 43 - db_reset = 35 - findSrcid = 108 - findSrcid(0x3E18, 0x0, 0x0) - db_static_prepare(0x10013E8C0, 0x1000C79D0, 0x0) - db_static_prepare = 218 - db_bind_int(0x10013E8C0, 0x1000C99E4, 0x3E18) - paramIdx(0x10013E8C0, 0x1000C99E4, 0x3E18) - sqlite3_bind_parameter_index(0x10020D3B8, 0x1000C99E4, 0x3E18) - sqlite3_bind_parameter_index = 35 - sqlite3VdbeParameterIndex(0x10020D3B8, 0x1000C99E4, 0x4) - sqlite3VdbeParameterIndex = 132 - paramIdx = 76 - db_bind_int = 46 - sqlite3_bind_int(0x10020D3B8, 0x1, 0x3E18) - sqlite3_bind_int = 8 - sqlite3_bind_int64(0x10020D3B8, 0x1, 0x3E18) - vdbeUnbind(0x10020D3B8, 0x1, 0x3E18) - vdbeSafetyNotNull(0x10020D3B8, 0x1, 0x3E18) - vdbeSafetyNotNull = 54 - sqlite3VdbeMemRelease(0x100B1FA38, 0x1, 0xF3D5) - sqlite3DbFree(0x1002000A8, 0x0, 0xF3D5) - sqlite3DbFree = 134 - sqlite3_free(0x0, 0x0, 0xF3D5) - sqlite3_free = 124 - sqlite3VdbeMemRelease = 70 - sqlite3Error(0x1002000A8, 0x0, 0x0) - sqlite3VdbeMemSetStr(0x1002004B8, 0x0, 0x0) - sqlite3VdbeMemSetNull(0x1002004B8, 0x0, 0x0) - sqlite3VdbeMemSetNull = 169 - sqlite3VdbeMemSetStr = 547 - sqlite3Error = 332 - vdbeUnbind = 314 - sqlite3VdbeMemRelease(0x100B1FA38, 0x0, 0x0) - sqlite3DbFree(0x1002000A8, 0x0, 0x0) - sqlite3DbFree = 134 - sqlite3_free(0x0, 0x0, 0x0) - sqlite3_free = 124 - sqlite3VdbeMemRelease = 70 - sqlite3_bind_int64 = 108 - db_step(0x10013E8C0, 0x0, 0x0) - sqlite3_step(0x10020D3B8, 0x0, 0x0) - vdbeSafetyNotNull(0x10020D3B8, 0x0, 0x0) - vdbeSafetyNotNull = 54 - sqlite3Step(0x10020D3B8, 0x0, 0x7FFF5FBFE998) - sqlite3VdbeMemShallowCopy(0x100B1F958, 0x100B1FA38, 0x800) - sqlite3VdbeMemShallowCopy = 131 - sqlite3BtreeBeginTrans(0x100200688, 0x0, 0x100200380) - sqlite3BtreeBeginTrans = 1908 - allocateCursor(0x10020D3B8, 0x0, 0x2) - sqlite3VdbeMemGrow(0x100B1FA00, 0x1E0, 0x0) - sqlite3MemSize(0x0, 0x1E0, 0x0) - sqlite3MemSize = 15 - sqlite3DbFree(0x1002000A8, 0x0, 0x0) - sqlite3DbFree = 134 - sqlite3_free(0x0, 0x0, 0x0) - sqlite3_free = 124 - sqlite3DbMallocRaw(0x1002000A8, 0x1E0, 0x0) - sqlite3Malloc(0x1E0, 0x1E0, 0x0) - mallocWithAlarm(0x1E0, 0x7FFF5FBFE2E8, 0x0) - sqlite3MemRoundup(0x1E0, 0x7FFF5FBFE2E8, 0x0) - sqlite3MemRoundup = 11 - sqlite3MemMalloc(0x1E0, 0x7FFF5FBFE2E8, 0x0) - sqlite3MemMalloc = 88 - sqlite3MemSize(0x100214C48, 0xFFF8, 0x7FFF7039D650) - sqlite3MemSize = 15 - mallocWithAlarm = 284 - sqlite3Malloc = 64 - sqlite3DbMallocRaw = 157 - sqlite3VdbeMemGrow = 265 - allocateCursor = 259 - applyAffinity(0x100B1F958, 0x63, 0x1) - applyNumericAffinity(0x100B1F958, 0x63, 0x1) - applyNumericAffinity = 122 - applyAffinity = 156 - sqlite3BtreeMovetoUnpacked(0x100214CE0, 0x0, 0x3E18) - moveToRoot(0x100214CE0, 0x0,
Re: [fossil-users] Adding settings
On Jun 11, 2012, at 09:03 , Baruch Burstein wrote: Is there an easy way to add settings (preferably on a per-repository base) to the `fossil settings` command? And if so, is there an easy way to also add them to the web interface? I once added the *self-register* thing after just a few minutes of looking around the sources. So yes, I'd say it's easy. At least if you have *grep* in your system ;) Kind regards, Remigiusz Modrzejewski ___ 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] Adding settings
On Mon, Jun 11, 2012 at 3:03 AM, Baruch Burstein bmburst...@gmail.comwrote: Is there an easy way to add settings (preferably on a per-repository base) to the `fossil settings` command? And if so, is there an easy way to also add them to the web interface? Add entries to the ctrlSettingshttp://www.fossil-scm.org/fossil/artifact/a71fac98f85a?ln=1888array, and explanatory text to the header comment on the settings_cmd() functionhttp://www.fossil-scm.org/fossil/artifact/a71fac98f85a?ln=1888then recomile. The help text is automatically extracted from the header comment by the build process. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- 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
Re: [fossil-users] Adding settings
Thank you. And is there a function to get the value of a setting, or just an old-fashioned SELECT? On Mon, Jun 11, 2012 at 12:42 PM, Richard Hipp d...@sqlite.org wrote: On Mon, Jun 11, 2012 at 3:03 AM, Baruch Burstein bmburst...@gmail.comwrote: Is there an easy way to add settings (preferably on a per-repository base) to the `fossil settings` command? And if so, is there an easy way to also add them to the web interface? Add entries to the ctrlSettingshttp://www.fossil-scm.org/fossil/artifact/a71fac98f85a?ln=1888array, and explanatory text to the header comment on the settings_cmd() functionhttp://www.fossil-scm.org/fossil/artifact/a71fac98f85a?ln=1888then recomile. The help text is automatically extracted from the header comment by the build process. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- 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 -- ˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı ___ 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] Adding settings
Never mind, I found it (db_get*). Sorry for the extra question. On Mon, Jun 11, 2012 at 1:18 PM, Baruch Burstein bmburst...@gmail.comwrote: Thank you. And is there a function to get the value of a setting, or just an old-fashioned SELECT? On Mon, Jun 11, 2012 at 12:42 PM, Richard Hipp d...@sqlite.org wrote: On Mon, Jun 11, 2012 at 3:03 AM, Baruch Burstein bmburst...@gmail.comwrote: Is there an easy way to add settings (preferably on a per-repository base) to the `fossil settings` command? And if so, is there an easy way to also add them to the web interface? Add entries to the ctrlSettingshttp://www.fossil-scm.org/fossil/artifact/a71fac98f85a?ln=1888array, and explanatory text to the header comment on the settings_cmd() functionhttp://www.fossil-scm.org/fossil/artifact/a71fac98f85a?ln=1888then recomile. The help text is automatically extracted from the header comment by the build process. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- 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 -- ˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı -- ˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı ___ 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] Adding settings
On Mon, Jun 11, 2012 at 6:18 AM, Baruch Burstein bmburst...@gmail.comwrote: Thank you. And is there a function to get the value of a setting, or just an old-fashioned SELECT? db_get() and db_get_int(). Use grep. The code really isn't that hard once you have the general layout. Read http://www.fossil-scm.org/fossil/doc/trunk/www/tech_overview.wiki On Mon, Jun 11, 2012 at 12:42 PM, Richard Hipp d...@sqlite.org wrote: On Mon, Jun 11, 2012 at 3:03 AM, Baruch Burstein bmburst...@gmail.comwrote: Is there an easy way to add settings (preferably on a per-repository base) to the `fossil settings` command? And if so, is there an easy way to also add them to the web interface? Add entries to the ctrlSettingshttp://www.fossil-scm.org/fossil/artifact/a71fac98f85a?ln=1888array, and explanatory text to the header comment on the settings_cmd() functionhttp://www.fossil-scm.org/fossil/artifact/a71fac98f85a?ln=1888then recomile. The help text is automatically extracted from the header comment by the build process. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- 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 -- ˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- 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] Propose changes
I have made a small addition that I would like to propose for fossil (option to auto-convert line endings). How and where should I send it? -- ˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı ___ 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] Propose changes
On Mon, Jun 11, 2012 at 3:12 PM, Baruch Burstein bmburst...@gmail.comwrote: I have made a small addition that I would like to propose for fossil (option to auto-convert line endings). How and where should I send it? Post the diffs, or a link to the diffs, on this mailing list. -- ˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ uɐɔ noʎ ɟı ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- 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
Re: [fossil-users] Propose changes
I would also like to suggest a link to the command list ( http://www.fossil-scm.org/fossil/help) be available on the front page of the website. On Mon, Jun 11, 2012 at 11:01 PM, Baruch Burstein bmburst...@gmail.comwrote: Here it is. If you prefer a link I will upload it somewhere: --- src/db.c +++ src/db.c @@ -1894,10 +1894,11 @@ { autosync, 0,0, 0, on }, { binary-glob, 0, 32, 1, }, { clearsign, 0,0, 0, off }, { case-sensitive,0,0, 0, on }, { crnl-glob, 0, 16, 1, }, + { crnl-autofix-glob, 0, 16, 1, }, { default-perms, 0, 16, 0, u }, { diff-command, 0, 16, 0, }, { dont-push, 0,0, 0, off }, { editor,0, 16, 0, }, { gdiff-command, 0, 16, 0, gdiff }, @@ -1983,10 +1984,14 @@ ** be unsigned. Default: off ** **crnl-globA comma or newline-separated list of GLOB patterns for ** (versionable) text files in which it is ok to have CR+NL line endings. ** Set to * to disable CR+NL checking. +** +**crnl-autofix-glob A comma or newline-separated list of GLOB patterns for +** (versionable) text files which should have CR+NL line endings +** automatically fixed to CR ** **default-permsPermissions given automatically to new users. For more ** information on permissions see Users page in Server ** Administration of the HTTP UI. Default: u. ** --- src/checkin.c +++ src/checkin.c @@ -816,16 +816,24 @@ blob_appendf(pOut, U %F\n, zUserOvrd ? zUserOvrd : g.zLogin); md5sum_blob(pOut, mcksum); blob_appendf(pOut, Z %b\n, mcksum); if( pnFBcard ) *pnFBcard = nFBcard; } + +/* +** Correct al \r\n line endings in a text file to \n +*/ +static void cr_fix(Blob *p, const char *zFilename){ + blob_remove_cr(p); + blob_write_to_file(p, zFilename); +} /* ** Issue a warning and give the user an opportunity to abandon out ** if a \r\n line ending is seen in a text file. */ -static void cr_warning(const Blob *p, const char *zFilename){ +static void cr_warning(Blob *p, const char *zFilename){ int nCrNl = 0; /* Number of \r\n line endings seen */ const unsigned char *z; /* File text */ int n; /* Size of the file in bytes */ int lastNl = 0; /* Characters since last \n */ int i; /* Loop counter */ @@ -854,17 +862,19 @@ if( nCrNl ){ char c; file_relative_name(zFilename, fname, 0); blob_zero(ans); zMsg = mprintf( - %s contains CR/NL line endings; commit anyhow (yes/no/all)?, + %s contains CR/NL line endings; commit anyhow (yes/no/all/fix)?, blob_str(fname)); prompt_user(zMsg, ans); fossil_free(zMsg); c = blob_str(ans)[0]; if( c=='a' ){ allOk = 1; +}else if( c=='f' ){ + cr_fix(p, zFilename); }else if( c!='y' ){ fossil_fatal(Abandoning commit due to CR+NL line endings in %s, blob_str(fname)); } blob_reset(ans); @@ -1150,33 +1160,42 @@ /* Step 1: Insert records for all modified files into the blob ** table. If there were arguments passed to this command, only ** the identified fils are inserted (if they have been modified). */ db_prepare(q, -SELECT id, %Q || pathname, mrid, %s FROM vfile +SELECT id, %Q || pathname, mrid, %s, %s FROM vfile WHERE chnged==1 AND NOT deleted AND file_is_selected(id), -g.zLocalRoot, glob_expr(pathname, db_get(crnl-glob,)) +g.zLocalRoot, +glob_expr(pathname, db_get(crnl-glob,)), +glob_expr(pathname, db_get(crnl-autofix-glob,)) ); while( db_step(q)==SQLITE_ROW ){ int id, rid; const char *zFullname; Blob content; -int crnlOk; +int crnlOk, crnlFix; id = db_column_int(q, 0); zFullname = db_column_text(q, 1); rid = db_column_int(q, 2); crnlOk = db_column_int(q, 3); +crnlFix = db_column_int(q, 4); blob_zero(content); if( file_wd_islink(zFullname) ){ /* Instead of file content, put link destination path */ blob_read_link(content, zFullname); }else{ blob_read_from_file(content, zFullname); } -if( !crnlOk ) cr_warning(content, zFullname); +if( !crnlOk ){ + if( crnlFix ){ +cr_fix(content, zFullname); + }else{ +cr_warning(content, zFullname); + } +} nrid = content_put(content); blob_reset(content); if( rid0 ){ content_deltify(rid, nrid, 0);
Re: [fossil-users] Propose changes
On Mon, Jun 11, 2012 at 10:01 PM, Baruch Burstein bmburst...@gmail.comwrote: +** (versionable) text files which should have CR+NL line endings +** automatically fixed to CR LOL! As much as i agree with the sentiment, isn't saying fixed likely to alienate users of that other OS? -- - stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal ___ 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] Propose changes
On Tue, 12 Jun 2012 00:06:38 +0200 Stephan Beal sgb...@googlemail.com wrote: On Mon, Jun 11, 2012 at 10:01 PM, Baruch Burstein bmburst...@gmail.comwrote: +** (versionable) text files which should have CR+NL line endings +** automatically fixed to CR LOL! As much as i agree with the sentiment, isn't saying fixed likely to alienate users of that other OS? So is there a setting for this variable that breaks text files when you check them out? mike -- Mike Meyer m...@mired.org http://www.mired.org/ Independent Software developer/SCM consultant, email for more information. O ascii ribbon campaign - stop html mail - www.asciiribbon.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] Fossil vs. Windows
My boss just sent me mail that said, and I quote: Fossil sucks and is actually not compatible with Windows I'm pretty sure I've seen people here who use it no Windows, and there's a Windows distribution, which makes me think he's wrong. His problem is that he has lots of spaces in his directory and file names, and we (Windows is a third-line gaming platform for me, but I try...) couldn't figure out how to get such passed to fossil as file names, instead of broken up by command.com or whatever does that job these days. Quoting again: If I try adding parentheses or quotes then the ignorant application bombs out. So, anyone got advice on this? Maybe a GUI that works with the fossil Windows binary from fossil.org? Thanks, mike -- Mike Meyer m...@mired.org http://www.mired.org/ Independent Software developer/SCM consultant, email for more information. O ascii ribbon campaign - stop html mail - www.asciiribbon.org ___ 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] Fossil vs. Windows
-Original Message- From: fossil-users-boun...@lists.fossil-scm.org [mailto:fossil-users- boun...@lists.fossil-scm.org] On Behalf Of Mike Meyer My boss just sent me mail that said, and I quote: Fossil sucks and is actually not compatible with Windows I'm pretty sure I've seen people here who use it no Windows, and there's a Windows distribution, which makes me think he's wrong. His problem is that he has lots of spaces in his directory and file names, and we (Windows is a third-line gaming platform for me, but I try...) couldn't figure out how to get such passed to fossil as file names, instead of broken up by command.com or whatever does that job these days. Quoting again: If I try adding parentheses or quotes then the ignorant application bombs out. So, anyone got advice on this? Maybe a GUI that works with the fossil Windows binary from fossil.org? Thanks, mike I'm getting similar push-back here in our Fossil vs. Trac bake-off. To the non-software-developer Windows users, Trac just works. Which means the Fossil-loving SW folks here may have to suck it up. Which we certainly are able to do. Too bad. Having a single platform at a small company like ours really matters. I'm going to try to drag my feet on the final decision until I see what comes out of the Fossil code sprint. -BobC ___ 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] Fossil vs. Windows
On Mon, Jun 11, 2012 at 6:36 PM, Mike Meyer m...@mired.org wrote: My boss just sent me mail that said, and I quote: Fossil sucks and is actually not compatible with Windows I'm pretty sure I've seen people here who use it no Windows, and there's a Windows distribution, which makes me think he's wrong. His problem is that he has lots of spaces in his directory and file names, and we (Windows is a third-line gaming platform for me, but I try...) couldn't figure out how to get such passed to fossil as file names, instead of broken up by command.com or whatever does that job these days. Quoting again: If I try adding parentheses or quotes then the ignorant application bombs out. So, anyone got advice on this? Maybe a GUI that works with the fossil Windows binary from fossil.org? I think the windows command-line shell insists on double-quotes around arguments that contain spaces. Unix will accept single-quotes and escaped spaces, but windows wants double-quotes. At least that has been my experience. On the other hand, there might be bugs in Fossil related to spaces in file and directory names. I never allow spaces in directory and filenames myself, so the ability to handle spaces in names is not something that gets heavily exercised. Thanks, mike -- Mike Meyer m...@mired.org http://www.mired.org/ Independent Software developer/SCM consultant, email for more information. O ascii ribbon campaign - stop html mail - www.asciiribbon.org ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- 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
Re: [fossil-users] Fossil vs. Windows
Hi, Could you please be a bit more specific about what errors exactly you have experienced. I've been using fossil on Windows (Vista 32-bit and 7 64-bit) for more than 3 years now and haven't ever experienced any problems with spaces in dirs or file names; Below is an excerpt from the listing of one of my repos that I work intensively on. My current fossil ver says: fossil version This is fossil version 1.22 [5dd5d39e7c] 2012-03-19 12:45:47 UTC But, as said, I've been using much, much older versions, too. fossil ls ... MonitoringCore/Installers.cs MonitoringCore/Lib/Castle.Windsor-2.5.3/ASL - Apache Software Foundation License.txt MonitoringCore/Lib/Castle.Windsor-2.5.3/BreakingChanges.txt ... eSC-blocks/Execute Multiple Workflows with Properties/classes/MyService.class eSC-blocks/Execute Multiple Workflows with Properties/dependencies.xml Cheers, Jacek 2012/6/11 Mike Meyer m...@mired.org: My boss just sent me mail that said, and I quote: Fossil sucks and is actually not compatible with Windows I'm pretty sure I've seen people here who use it no Windows, and there's a Windows distribution, which makes me think he's wrong. His problem is that he has lots of spaces in his directory and file names, and we (Windows is a third-line gaming platform for me, but I try...) couldn't figure out how to get such passed to fossil as file names, instead of broken up by command.com or whatever does that job these days. Quoting again: If I try adding parentheses or quotes then the ignorant application bombs out. So, anyone got advice on this? Maybe a GUI that works with the fossil Windows binary from fossil.org? Thanks, mike -- Mike Meyer m...@mired.org http://www.mired.org/ Independent Software developer/SCM consultant, email for more information. O ascii ribbon campaign - stop html mail - www.asciiribbon.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 mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] Fossil vs. Windows
Hi again, Sorry for not answering your question in my previous post... I'm a bit sleepy (it's about 1am my time). Try double quotes. Just tested with no errors: fossil add new file.txt ADDED new file.txt fossil chan ADDED new file.txt fossil commit -m new file added... New_Version: 4023b409f054b270412af3302e79ad20a67de5c0 However, I think you usually don't need to specify file names by hand. It's enough to issue 'fossil add *' or 'fossil add a_dir' or 'fossil add a_dir\b dir' and fossil will do the job you. Jacek 2012/6/11 Mike Meyer m...@mired.org: My boss just sent me mail that said, and I quote: Fossil sucks and is actually not compatible with Windows I'm pretty sure I've seen people here who use it no Windows, and there's a Windows distribution, which makes me think he's wrong. His problem is that he has lots of spaces in his directory and file names, and we (Windows is a third-line gaming platform for me, but I try...) couldn't figure out how to get such passed to fossil as file names, instead of broken up by command.com or whatever does that job these days. Quoting again: If I try adding parentheses or quotes then the ignorant application bombs out. So, anyone got advice on this? Maybe a GUI that works with the fossil Windows binary from fossil.org? Thanks, mike -- Mike Meyer m...@mired.org http://www.mired.org/ Independent Software developer/SCM consultant, email for more information. O ascii ribbon campaign - stop html mail - www.asciiribbon.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 mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] Submitting edits breaks ticket report?
Hi, I've written a report to list unassigned open tickets, code below. However, it seems that if I make any changes to the ticket, such as adding a comment or altering its priority, it will no longer appear in this report, even if it's still Unassigned and Open. Also, when the report is displayed, the priority column is always blank, despite the tickets having a priority. Am I doing something wrong? SELECT CASE WHEN status IN ('Open','Verified') THEN '#f2dcdc' WHEN status='Review' THEN '#e8e8e8' WHEN status='Fixed' THEN '#cfe8bd' WHEN status='Tested' THEN '#bde5d6' WHEN status='Deferred' THEN '#cacae5' ELSE '#c8c8c8' END AS 'bgcolor', substr(tkt_uuid,1,10) AS '#', datetime(tkt_mtime) AS 'mtime', type, status, assigned_to, severity, priority, title FROM ticket WHERE assigned_to='Unassigned' AND status != 'Closed' ___ 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] Submitting edits breaks ticket report?
On Mon, Jun 11, 2012 at 8:35 PM, Chen, Zon zc...@portphillip.vic.gov.auwrote: Hi, I've written a report to list unassigned open tickets, code below. However, it seems that if I make any changes to the ticket, such as adding a comment or altering its priority, it will no longer appear in this report, even if it's still Unassigned and Open. Also, when the report is displayed, the priority column is always blank, despite the tickets having a priority. Am I doing something wrong? Sounds more like something in the edit ticket script, not your report. Can you send any additional detail? SELECT CASE WHEN status IN ('Open','Verified') THEN '#f2dcdc' WHEN status='Review' THEN '#e8e8e8' WHEN status='Fixed' THEN '#cfe8bd' WHEN status='Tested' THEN '#bde5d6' WHEN status='Deferred' THEN '#cacae5' ELSE '#c8c8c8' END AS 'bgcolor', substr(tkt_uuid,1,10) AS '#', datetime(tkt_mtime) AS 'mtime', type, status, assigned_to, severity, priority, title FROM ticket WHERE assigned_to='Unassigned' AND status != 'Closed' ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- 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
Re: [fossil-users] Submitting edits breaks ticket report?
Apologies, for some reason my mail client has messed up some of the line breaks. All of the *** should be at the very start of the line. -Original Message- From: fossil-users-boun...@lists.fossil-scm.org [mailto:fossil-users-boun...@lists.fossil-scm.org] On Behalf Of Chen, Zon Sent: Tuesday, 12 June 2012 11:21 AM To: 'Fossil SCM user's discussion' Subject: Re: [fossil-users] Submitting edits breaks ticket report? Thanks for your reply. Is it ok to send a giant chunk of text here? Here is my edit ticket script. I've inserted *** in front of the lines that I have altered from default. I've also included my table schema below as well. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users