[fossil-users] A crazy idea, but perhaps it has merit ...

2011-04-07 Thread Matt Welland
I don't have a lot of public stuff out there yet (my fossils are at www.kiatoa.com/fossils/opensrc) but there have been several times where I made a typo or minor mistake and it would have saved some embarrassment *and* been really cool to be able to browse to the file and make a change and check i

Re: [fossil-users] tags & branches after importing from CVS

2011-04-07 Thread chi
Joan Picanyol i Puig schrieb: (...) Hello Joan, first you have to understand, that tags in Fossil are what other VCSs call properties. That means, there is the possibility to assign a value to a property/tag if one wants to. Then those properties/tags can be chosen to propagate automatically

Re: [fossil-users] crnl-setting bug

2011-04-07 Thread Benoit Mortgat
I already had reported this problem on the mailing list one month ago. http://www.mail-archive.com/fossil-users@lists.fossil-scm.org/msg03942.html My workaround was basically the following: fossil sqlite3 -R "%LOCALAPPDATA%\_fossil" INSERT OR REPLACE INTO global_config(name, text) VALUES('crnl-gl

Re: [fossil-users] crnl-setting bug

2011-04-07 Thread Wilson, Ronald
you at correct. we need file expansion on globs, just not in this case. I'll be content to use the ui for this one. rw from my mobile 434.851.1612 On Apr 7, 2011, at 4:59 PM, "Bill Burdick" mailto:bill.burd...@gmail.com>> wrote: I wonder if this would affect commands like fossil add *.txt B

Re: [fossil-users] crnl-setting bug

2011-04-07 Thread Konstantin Khomoutov
On Thu, Apr 07, 2011 at 05:15:12PM -0400, sky5w...@gmail.com wrote: > >> Confirmed. Single quotes work on Win7. > > Actually, single quotes don't work either because the single quotes get > > preserved in fossil: > > > > PS C:\rev\src\fossil> cmd > > Microsoft Windows [Version 6.0.6002] > > Copyr

Re: [fossil-users] CRLF conversion on windows

2011-04-07 Thread Ron Wilson
On Thu, Apr 7, 2011 at 4:56 PM, Wilson, Ronald wrote: > How is abandoning backwards compatibility in any way linked to winning?   > Frankly, > I’m surprised at how often MS seems to get beat up on this list; many of us > are > Windows users and developers.  Personally it gets under my skin; maybe

Re: [fossil-users] Commit Question

2011-04-07 Thread Anthony Jefferson
I did some back searching and found out that this feature does not exist in fossil. I will probably use a script to get the results I want. Thanks for the find/awk idea. I'm doing most of my work on windows but have the Cygwin stuff installed so something close to that should work. Thanks all

Re: [fossil-users] crnl-setting bug

2011-04-07 Thread sky5walk
LOL...I didn't check the resultant settings. Bummer, so we gotta use the ui for windows 7 and beyond? On Thu, Apr 7, 2011 at 4:44 PM, Wilson, Ronald wrote: >> >> Confirmed. Single quotes work on Win7. >> > > Actually, single quotes don't work either because the single quotes get > preserved in f

Re: [fossil-users] crnl-setting bug

2011-04-07 Thread Bill Burdick
I wonder if this would affect commands like fossil add *.txt Bill On Thu, Apr 7, 2011 at 3:50 PM, Scott Robison wrote: > On Thu, Apr 7, 2011 at 2:44 PM, Wilson, Ronald > wrote: > >> > >> Confirmed. Single quotes work on Win7. > >> > > > > Actually, single quotes don't work either because the

Re: [fossil-users] CRLF conversion on windows

2011-04-07 Thread Wilson, Ronald
> Basically, Unix won. I think Windows is the last system maintaining > backwards compatibility to systems that predate the rise of Unix. > Pretty much everything else either was designed with the Unix model in > mind, or converted to it somewhere along the way. How is abandoning backwards compati

Re: [fossil-users] crnl-setting bug

2011-04-07 Thread Scott Robison
On Thu, Apr 7, 2011 at 2:44 PM, Wilson, Ronald wrote: >> >> Confirmed. Single quotes work on Win7. >> > > Actually, single quotes don't work either because the single quotes get > preserved in fossil: According to http://gnuwin32.sourceforge.net/compile.html: Filename globbing Wildcards on the

Re: [fossil-users] crnl-setting bug

2011-04-07 Thread Wilson, Ronald
> > Confirmed. Single quotes work on Win7. > Actually, single quotes don't work either because the single quotes get preserved in fossil: PS C:\rev\src\fossil> cmd Microsoft Windows [Version 6.0.6002] Copyright (c) 2006 Microsoft Corporation. All rights reserved. C:\rev\src\fossil>fossil set

Re: [fossil-users] Commit Question

2011-04-07 Thread Bill Burdick
Well then, nothing could be simpler than this! (of course you could put it into a script -- this is for *NIX) find $(fossil changes | awk '{print $2}') -wholename "$dir/*" | xargs fossil commit or, if you don't like find and awk, you can execute this from the top dir in the project... echo "s

Re: [fossil-users] crnl-setting bug

2011-04-07 Thread sky5walk
Confirmed. Single quotes work on Win7. On Thu, Apr 7, 2011 at 3:33 PM, Scott Robison wrote: > On Thu, Apr 7, 2011 at 1:24 PM, Ron Wilson wrote: >> On Thu, Apr 7, 2011 at 3:16 PM, Scott Robison wrote: >>> I believe the glob-style wildcard pattern matching is being performed >>> by mingw during p

Re: [fossil-users] Commit Question

2011-04-07 Thread Lluís Batlle i Rossell
On Thu, Apr 07, 2011 at 02:39:30PM -0500, Bill Burdick wrote: > Are you on *NIX or Windows? If you're on *NIX, you can use fossil commit > $(find dir -type f) or find dir -type f | xargs fossil commit I think it is not that easy! :) fossil commit only likes the files that have changed. > On Thu,

Re: [fossil-users] Commit Question

2011-04-07 Thread Bill Burdick
Are you on *NIX or Windows? If you're on *NIX, you can use fossil commit $(find dir -type f) or find dir -type f | xargs fossil commit Bill On Thu, Apr 7, 2011 at 5:14 AM, Anthony Jefferson wrote: > Typically when I do a commit I simply do : > > fossil commit > > From inside the tree of manag

Re: [fossil-users] Embedding an attached image file?

2011-04-07 Thread Bill Burdick
Here's an example: http://tinyconcepts.com/fs.pl/hub.fsl/wiki?name=testJavaScript Click on your attachment and copy its URL from the resulting page: http://tinyconcepts.com/fs.pl/hub.fsl/attachview?page=testJavaScript&file=tick.png Then, put it in an img tag in the wiki page: Bill On Mon, Apr

Re: [fossil-users] crnl-setting bug

2011-04-07 Thread Scott Robison
On Thu, Apr 7, 2011 at 1:24 PM, Ron Wilson wrote: > On Thu, Apr 7, 2011 at 3:16 PM, Scott Robison wrote: >> I believe the glob-style wildcard pattern matching is being performed >> by mingw during program startup before handing control over to main >> (because cmd.exe does not do wildcard expansi

Re: [fossil-users] crnl-setting bug

2011-04-07 Thread Ron Wilson
On Thu, Apr 7, 2011 at 3:16 PM, Scott Robison wrote: > I believe the glob-style wildcard pattern matching is being performed > by mingw during program startup before handing control over to main > (because cmd.exe does not do wildcard expansion itself in either > Windows 7 or XP). And, I would gu

Re: [fossil-users] crnl-setting bug

2011-04-07 Thread Scott Robison
On Thu, Apr 7, 2011 at 1:16 PM, Scott Robison wrote: > I believe the glob-style wildcard pattern matching is being performed > by mingw during program startup before handing control over to main > (because cmd.exe does not do wildcard expansion itself in either > Windows 7 or XP). Bah, stupid gma

Re: [fossil-users] CRLF conversion on windows

2011-04-07 Thread Ron Wilson
On Thu, Apr 7, 2011 at 12:42 PM, Ramon Ribó wrote: > Another thing that would be a bonus for cross-platform development > would be to change the encoding of the text files. In modern Linux it > is utf-8. And in modern Windows, it is a code page that depends on the > country but it is different fro

Re: [fossil-users] crnl-setting bug

2011-04-07 Thread Scott Robison
I believe the glob-style wildcard pattern matching is being performed by mingw during program startup before handing control over to main (because cmd.exe does not do wildcard expansion itself in either Windows 7 or XP). SDR On Thu, Apr 7, 2011 at 10:53 AM, Konstantin Khomoutov wrote: > On Thu,

[fossil-users] Allow REMOTE_USER from command line

2011-04-07 Thread Tony Perovic
Is there a way to set/query the Allow REMOTE_USER setting from the command line or any of the Access Control Settings for that matter? [cid:image002.jpg@01CBF527.8DCD1AF0] TONY PEROVIC tpero...@compumation.com www.compumation.com 205 W. Grand Ave., Ste. 121 B

Re: [fossil-users] tags & branches after importing from CVS

2011-04-07 Thread Joan Picanyol i Puig
* Joan Picanyol i Puig [20110407 17:28]: > Various combinations of "tag add" & "tag cancel" have ended up with > (mispellings and all): > > jpicanyol@jpicanyol-desktop:~/wd$ fossil tag list --raw c57a6c30e7 > branch=master > branck > branck=trunk

Re: [fossil-users] CRLF conversion on windows

2011-04-07 Thread Mike Meyer
Getting pedantic here... On Thu, 7 Apr 2011 12:55:14 -0400 Richard Hipp wrote: > On Thu, Apr 7, 2011 at 12:42 PM, Ramon Ribó wrote: > > MacOSX is using UNIX line ending since more than 10 years-ago. > > In modern computers, there are two options: > > Unix/MacOSX: LF > Also, Solaris, AIX, HPUX, N

Re: [fossil-users] CRLF conversion on windows

2011-04-07 Thread Louis Hoefler
I never had problems with LF line endings in my batch files/source files/whatever I am on windows 7 with vs2010. The only thing whitch troubles me is the linux shell interpreter who can not live with CR-LF line endings and renames dirs to dir^M. For god sake let windows out of this, becouse i

Re: [fossil-users] CRLF conversion on windows

2011-04-07 Thread Ramon Ribó
> There are countless operating systems available today, each with is own > peccadillos.  So why is it always windows that gives trouble?  The more one > tries to make code cross-platform, the more one realizes that windows is the > problem child. > The reality is that if you count any electronic

Re: [fossil-users] CRLF conversion on windows

2011-04-07 Thread sky5walk
Good to know! This came about from supporting data files supplied by various users and I still receive the occasional [CR] only data file? On Thu, Apr 7, 2011 at 12:33 PM, Konstantin Khomoutov wrote: > On Thu, 7 Apr 2011 12:04:44 -0400 > sky5w...@gmail.com wrote: > >> I would be immensely confus

Re: [fossil-users] CRLF conversion on windows

2011-04-07 Thread Richard Hipp
On Thu, Apr 7, 2011 at 12:42 PM, Ramon Ribó wrote: > MacOSX is using UNIX line ending since more than 10 years-ago. > > In modern computers, there are two options: > > Unix/MacOSX: LF > Also, Solaris, AIX, HPUX, NetBSD, OpenBSD, QNX, etc. > Windows: CR-LF > The odd man out. > > I would not

Re: [fossil-users] crnl-setting bug

2011-04-07 Thread Konstantin Khomoutov
On Thu, 7 Apr 2011 15:44:12 + "Wilson, Ronald" wrote: > PS C:\Users\rwilso20> cmd > Microsoft Windows [Version 6.0.6002] > Copyright (c) 2006 Microsoft Corporation. All rights reserved. > > C:\Users\rwilso20>cd \rev\src\fossil > > C:\rev\src\fossil>fossil setting crnl-glob "*" > Usage: C:\

Re: [fossil-users] CRLF conversion on windows

2011-04-07 Thread Ramon Ribó
MacOSX is using UNIX line ending since more than 10 years-ago. In modern computers, there are two options: Unix/MacOSX: LF Windows: CR-LF I would not see it as a problem that fossil changed line-endings if it was disabled by default and it could be enabled with something similar to: fossil sett

Re: [fossil-users] CRLF conversion on windows

2011-04-07 Thread Konstantin Khomoutov
On Thu, 7 Apr 2011 12:04:44 -0400 sky5w...@gmail.com wrote: > I would be immensely confused if my SCM was modifying the contents of > my source code and/or support documents. > Given that MacOS has yet another EOL = [CR], it is better for your own > code to manage distribution effects. I think it'

Re: [fossil-users] lol ... mildly humorous fossil usage error...

2011-04-07 Thread Bill Burdick
Here's what I did in a script that had the same problem: unset PATH_INFO SCRIPT_NAME REQUEST_URI SERVER_PROTOCOL REQUEST_METHOD QUERY_STRING STATUS PATH_TRANSLATED SCRIPT_URI SCRIPT_URL GATEWAY_INTERFACE SERVER_NAME DOCUMENT_ROOT Bill On Wed, Apr 6, 2011 at 8:22 PM, Ron Wilson wrote: > On We

Re: [fossil-users] crnl-setting bug

2011-04-07 Thread Bill Burdick
Apparently the Vista and Windows 7 shell does the file matching and sends the matched files to the command, rather than sending "*.*' to the command and having the command do the matching, somewhat like how shells work in UNIX. Bill On Thu, Apr 7, 2011 at 11:18 AM, wrote: > Whoa! How do you..

Re: [fossil-users] crnl-setting bug

2011-04-07 Thread sky5walk
Whoa! How do you... c:\temp>del *.* Some Dot.Net framework class is required? ___ 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] crnl-setting bug

2011-04-07 Thread Bill Burdick
It seems that Vista and Windows 7 don't support sending "*" as an argument. For XP, apparently it works. Bill On Thu, Apr 7, 2011 at 10:58 AM, wrote: > I prefer an automated approach. (assuming the batch file is simpler > than sending data to the ui) > The fossil settings work for me on XPs

Re: [fossil-users] CRLF conversion on windows

2011-04-07 Thread sky5walk
I would be immensely confused if my SCM was modifying the contents of my source code and/or support documents. Given that MacOS has yet another EOL = [CR], it is better for your own code to manage distribution effects. Just my opinion. -Steve On Thu, Apr 7, 2011 at 11:54 AM, Martin Gagnon wrote:

Re: [fossil-users] crnl-setting bug

2011-04-07 Thread sky5walk
I prefer an automated approach. (assuming the batch file is simpler than sending data to the ui) The fossil settings work for me on XPsp3. C:\fossil>cmd Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\fossil>fossil setting crnl-glob "*" C:\fossil> -Steve On

Re: [fossil-users] crnl-setting bug

2011-04-07 Thread Konstantin Khomoutov
On Thu, 7 Apr 2011 15:44:12 + "Wilson, Ronald" wrote: > PS C:\Users\rwilso20> cmd > Microsoft Windows [Version 6.0.6002] > Copyright (c) 2006 Microsoft Corporation. All rights reserved. > > C:\Users\rwilso20>cd \rev\src\fossil > > C:\rev\src\fossil>fossil setting crnl-glob "*" > Usage: C:\

Re: [fossil-users] tags & branches after importing from CVS

2011-04-07 Thread Joan Picanyol i Puig
pagating" ? tks -- pica * Bill Burdick [20110407 17:45]: > One thing you can do is use fossil ui to view the timeline, see the branch > diagram, and edit tag names. > > > Bill > > > On Thu, Apr 7, 2011 at 10:28 AM, Joan Picanyol i Puig < > lists-fos...@b

Re: [fossil-users] CRLF conversion on windows

2011-04-07 Thread Martin Gagnon
I know this new feature. But I'm really talking about converting the line ending, for cross platform development issue. -- Martin Le 2011-04-07 à 10:43, Clark Christensen a écrit : > I'm using fossil version [1d93222627] 2011-03-01 19:04:32 UTC > > With this version, Fossil warns about CRLF

Re: [fossil-users] tags & branches after importing from CVS

2011-04-07 Thread Bill Burdick
One thing you can do is use fossil ui to view the timeline, see the branch diagram, and edit tag names. Bill On Thu, Apr 7, 2011 at 10:28 AM, Joan Picanyol i Puig < lists-fos...@biaix.org> wrote: > Hi, > > I've imported a CVS repository, and git-cvsimport converted the "HEAD" > CVS branch to a

Re: [fossil-users] Personal wiki hack for synapse/gnome-do/quicksilver/etc.

2011-04-07 Thread Bill Burdick
So, the point of that command is to make an xterm that you can kill to stop your fossil ui, so you don't stack up 10 fossil ui commands. In windows, you can use Launchy for this (similar to gnome-do, quicksilver, etc.). Here's an improved script that doesn't depend on nc. Windows users should be

Re: [fossil-users] crnl-setting bug

2011-04-07 Thread Wilson, Ronald
PS C:\Users\rwilso20> cmd Microsoft Windows [Version 6.0.6002] Copyright (c) 2006 Microsoft Corporation. All rights reserved. C:\Users\rwilso20>cd \rev\src\fossil C:\rev\src\fossil>fossil setting crnl-glob "*" Usage: C:\rev\src\fossil\fossil.exe setting ?PROPERTY? ?VALUE? RW Ron Wilson, Engine

[fossil-users] tags & branches after importing from CVS

2011-04-07 Thread Joan Picanyol i Puig
Hi, I've imported a CVS repository, and git-cvsimport converted the "HEAD" CVS branch to a "master" one. Since fossil uses trunk as it's default branch, I've tried to rename all master tags/properties to trunk. It has kind-of-worked with awk + xargs, but I forgot the "--propagate", so now I'm tryi

Re: [fossil-users] crnl-setting bug

2011-04-07 Thread Konstantin Khomoutov
On Thu, 7 Apr 2011 10:04:22 -0400 Richard Hipp wrote: > On Thu, Apr 7, 2011 at 9:37 AM, Wilson, Ronald > wrote: > > > crnl-globA comma-separated list of GLOB patterns for > > text files > > > > in which it is ok to have CR+NL line endings. > > > >

[fossil-users] Personal wiki hack for synapse/gnome-do/quicksilver/etc.

2011-04-07 Thread Bill Burdick
Every now and then I review my need for personal wiki. I use Tiddlywiki for a lot of things, but it's not version controlled (out of the box) and I've also used Ikiwiki, which is really neat. Yesterday I had a "duh" moment when I realized I can use Fossil for this, but I wanted a nice way to star

Re: [fossil-users] crnl-setting bug

2011-04-07 Thread Ron Wilson
On Thu, Apr 7, 2011 at 10:51 AM, Richard Hipp wrote: > On Thu, Apr 7, 2011 at 10:46 AM, Bill Burdick > wrote: >> >> You can use fossil ui to set it. > > Excellent suggestion, Bill.  That is my new preferred solution.  Please > ignore my prior hack. Nevertheless, your hack is both clever and humo

Re: [fossil-users] Cloning on IIS

2011-04-07 Thread Richard Hipp
On Thu, Apr 7, 2011 at 11:03 AM, Tony Perovic wrote: > So, is anonymous access required for cloning even on Unix/Linux? > I don't think so. But Basic Authentication is going to try to authenticate regardless, and the fossil client does not know how to deal with the response, so you still cannot

Re: [fossil-users] Cloning on IIS

2011-04-07 Thread Tony Perovic
So, is anonymous access required for cloning even on Unix/Linux? Tony Perovic Compumation, Inc. From: fossil-users-boun...@lists.fossil-scm.org [mailto:fossil-users-boun...@lists.fossil-scm.org] On Behalf Of Richard Hipp Sent: Thursday, April 07, 2011 9:54 AM To:

Re: [fossil-users] Cloning on IIS

2011-04-07 Thread Richard Hipp
On Thu, Apr 7, 2011 at 10:48 AM, Tony Perovic wrote: > I’m still having trouble cloning/pulling/pushing on Windows/IIS…. > > > > This is my configuration: > > > > Anonymous access.in IIS is disabled. > > Integrated Windows Authentication is enabled. > > Basic Authentication is enabled. > > Allow

Re: [fossil-users] crnl-setting bug

2011-04-07 Thread Richard Hipp
On Thu, Apr 7, 2011 at 10:46 AM, Bill Burdick wrote: > You can use fossil ui to set it. Excellent suggestion, Bill. That is my new preferred solution. Please ignore my prior hack. > > Bill > > > On Thu, Apr 7, 2011 at 9:04 AM, Richard Hipp wrote: > >> >> >> On Thu, Apr 7, 2011 at 9:37 AM, W

[fossil-users] Cloning on IIS

2011-04-07 Thread Tony Perovic
I'm still having trouble cloning/pulling/pushing on Windows/IIS This is my configuration: Anonymous access.in IIS is disabled. Integrated Windows Authentication is enabled. Basic Authentication is enabled. Allow REMOTE_USER authentication is enabled in the repository. If I run Fossil in serv

Re: [fossil-users] crnl-setting bug

2011-04-07 Thread Bill Burdick
You can use fossil ui to set it. Bill On Thu, Apr 7, 2011 at 9:04 AM, Richard Hipp wrote: > > > On Thu, Apr 7, 2011 at 9:37 AM, Wilson, Ronald wrote: > >> crnl-globA comma-separated list of GLOB patterns for text >> files >> >> in which it is ok to have CR+NL lin

Re: [fossil-users] CRLF conversion on windows

2011-04-07 Thread Clark Christensen
I'm using fossil version [1d93222627] 2011-03-01 19:04:32 UTC With this version, Fossil warns about CRLF line ends on commit, and allows me to commit anyway, or abort and fix. This is a good option for me.  Some files are OK with CRLFs and others are not.  I like being able to choose.  -Clark

Re: [fossil-users] crnl-setting bug

2011-04-07 Thread Richard Hipp
On Thu, Apr 7, 2011 at 9:37 AM, Wilson, Ronald wrote: > crnl-globA comma-separated list of GLOB patterns for text > files > > in which it is ok to have CR+NL line endings. > > Set to "*" to disable CR+NL checking. > > > > I’m unable to set crnl-

Re: [fossil-users] crnl-setting bug

2011-04-07 Thread Konstantin Khomoutov
On Thu, 7 Apr 2011 13:37:38 + "Wilson, Ronald" wrote: >crnl-globA comma-separated list of GLOB patterns for text > files in which it is ok to have CR+NL line endings. > Set to "*" to disable CR+NL checking. > > I'm unable to set crnl-glob to * in windows, per

[fossil-users] crnl-setting bug

2011-04-07 Thread Wilson, Ronald
crnl-globA comma-separated list of GLOB patterns for text files in which it is ok to have CR+NL line endings. Set to "*" to disable CR+NL checking. I'm unable to set crnl-glob to * in windows, per the documentation. I'm using powershell in windo

[fossil-users] CRLF conversion on windows

2011-04-07 Thread Martin Gagnon
Hi, Is there any plan for CRLF conversion under windows? This would be very usefull for cross platform projects. Especially when using Visual Studio on the Windows side, which silently add CRLF line ending on a LF only file which give you a mixed line ending file (got bunch of ^M when editing file

[fossil-users] Commit Question

2011-04-07 Thread Anthony Jefferson
Typically when I do a commit I simply do : fossil commit >From inside the tree of managed artifacts. However, yesterday I realized I was >working on 2 different problems and wanted to commit only the single directory >tree I was in. I looked up the syntax a realized I could give the commit >co