Re: [fossil-users] Quiet mode for update and sync

2014-10-06 Thread Andy Bradford
Thus said David Mason on Sun, 05 Oct 2014 11:05:27 -0400: + if ( statusFlag ) fossil_exit(nUpdate==0); } Before you start using this in your own fork, you might want to consider if having the update_cmd() function exit at this point will cause problems if FOSSIL_ENABLE_TH1_HOOKS is

[fossil-users] move many files

2014-10-06 Thread Gaurav M. Bhandarkar
Hi, What is the easiest way to move many files in fossil on windows? 1) dir Directory of F:\dev2\fossil-experiment\tinymce 06-Oct-14 15:41DIR . 06-Oct-14 15:41DIR .. 06-Oct-14 14:54DIR javascript 06-Oct-14 14:34DIR tinymce 06-Oct-14 14:34

[fossil-users] Is it possible to add empty folders to the repo?

2014-10-06 Thread Baruch Burstein
I tried doing: mkdir a fossil add a but that didn't work. -- ˙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] Is it possible to add empty folders to the repo?

2014-10-06 Thread Stephan Beal
Nope - fossil tracks files only. - stephan Sent from a mobile device, possibly from bed. Please excuse brevity and typos. On Oct 6, 2014 4:38 PM, Baruch Burstein bmburst...@gmail.com wrote: I tried doing: mkdir a fossil add a but that didn't work. -- ˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ

Re: [fossil-users] Is it possible to add empty folders to the repo?

2014-10-06 Thread James Turner
On Mon, Oct 06, 2014 at 04:44:30PM +0200, Stephan Beal wrote: Nope - fossil tracks files only. But you can always add a .keep file or something in a directory you want to keep around and track that. - stephan Sent from a mobile device, possibly from bed. Please excuse brevity and

Re: [fossil-users] Is it possible to add empty folders to the repo?

2014-10-06 Thread Gaurav M. Bhandarkar
maybe you could use : fossil settings empty-dirs A comma or newline-separated list of pathnames. On update and checkout commands, if no file or directory exists with that name, an empty directory will be created. On Mon, Oct 6, 2014 at 8:07 PM, Baruch Burstein bmburst...@gmail.com wrote: I

Re: [fossil-users] Is it possible to add empty folders to the repo?

2014-10-06 Thread B Harder
Arguably, if you need empty dirs in your project as part of a build process, it should be in the Makefile or equiv. -bch On 10/6/14, Gaurav M. Bhandarkar gaurav.a...@gmail.com wrote: maybe you could use : fossil settings empty-dirs A comma or newline-separated list of pathnames. On update

Re: [fossil-users] Is it possible to add empty folders to the repo?

2014-10-06 Thread Richard Hipp
Fossil only tracks files. So in order to create a directory you must have at least one file in that directory. On Mon, Oct 6, 2014 at 10:37 AM, Baruch Burstein bmburst...@gmail.com wrote: I tried doing: mkdir a fossil add a but that didn't work. -- ˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ

Re: [fossil-users] Is it possible to add empty folders to the repo?

2014-10-06 Thread Baruch Burstein
Just for the record: I was not looking for a way to do this. I am trying to work on a svn-import command, and since svn allows this, I just wanted to make sure that I was right in thinking fossil does not allow it, and empty dirs will not get imported. -- ˙uʍop-ǝpısdn sı ɹoʇıuoɯ ɹnoʎ 'sıɥʇ pɐǝɹ

Re: [fossil-users] Is it possible to add empty folders to the repo?

2014-10-06 Thread Stephan Beal
On Mon, Oct 6, 2014 at 4:47 PM, Gaurav M. Bhandarkar gaurav.a...@gmail.com wrote: maybe you could use : fossil settings empty-dirs Nice tip :). i've been using Fossil since Christmas of 2007 and still learning new things about it. -- - stephan beal

Re: [fossil-users] Cloning repo

2014-10-06 Thread Stephan Beal
On Mon, Oct 6, 2014 at 6:24 AM, Andy Bradford amb-fos...@bradfords.org wrote: After looking at it, I don't think this introduces any unwanted side effects. :-D autosync-tries dictates how many times ``autosync'' should ...autosync-tries would be honored and one would have to enter

Re: [fossil-users] Captcha and blind and visually impaired users

2014-10-06 Thread Rob
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, Legend has it that on 05/10/2014 19:47, the fair wind whisper'd the words of Stephan Beal: Agreed completely, but most people, i assume, who are contributing to the wiki and tickets are capable of entering a captcha? Yes, the keyword here

Re: [fossil-users] Quiet mode for update and sync

2014-10-06 Thread Ron W
On Sun, Oct 5, 2014 at 11:05 AM, David Mason dma...@ryerson.ca wrote: (I do updates via ssh) If you are only doing updates via ssh, why run a cron job every 5 minutes? You could make a wrapper script for Fossil that runs Fossil to perform the sync, then backgrounds itself so the ssh session

[fossil-users] minor bug on export to git

2014-10-06 Thread Eric Rubin-Smith
When exporting to git, the check-in comments that are exported are the original comments. If you had subsequently edited the comments, then those edits are not retained during the export. Eric ___ fossil-users mailing list

Re: [fossil-users] minor bug on export to git

2014-10-06 Thread Richard Hipp
On Mon, Oct 6, 2014 at 1:14 PM, Eric Rubin-Smith eas@gmail.com wrote: When exporting to git, the check-in comments that are exported are the original comments. If you had subsequently edited the comments, then those edits are not retained during the export. Please try again with trunk.

Re: [fossil-users] Captcha and blind and visually impaired users

2014-10-06 Thread Ron W
On Sun, Oct 5, 2014 at 1:34 PM, Rob robjo...@gmail.com wrote: Legend has it that on 05/10/2014 18:55, the fair wind whisper'd the words of Stephan Beal: i.e. what i'm afraid of is that once you start hosting a repo with such an option for the registration page, some bot is going to come

Re: [fossil-users] Is it possible to add empty folders to the repo?

2014-10-06 Thread tonyp
(BETTER YET: Is it possible to REMOVE empty folders?) For me, there is an even more ‘annoying’ problem with the way empty directories are handled, but I think it is the opposite use case. For example: You have version X that has subdirectories a, b, and c. And, another version Y that has only

[fossil-users] Tip: abusing autosync to abort a commit

2014-10-06 Thread Stephan Beal
Hi, all, (This just happened...) The autosync option provides (incidentally, not specifically by design) a feature one doesn't have if it is turned off: the ability to abort a commit within a small (and unknown/varying) time frame. For example: the intention here was to commit a single file,

Re: [fossil-users] Tip: abusing autosync to abort a commit

2014-10-06 Thread Scott Robison
On Oct 6, 2014 12:26 PM, Stephan Beal sgb...@googlemail.com wrote: Hi, all, (This just happened...) The autosync option provides (incidentally, not specifically by design) a feature one doesn't have if it is turned off: the ability to abort a commit within a small (and unknown/varying) time

Re: [fossil-users] Tip: abusing autosync to abort a commit

2014-10-06 Thread Scott Robison
Bah! Commit not conmit. Stupid phone keyboard. On Oct 6, 2014 12:39 PM, Scott Robison sc...@casaderobison.com wrote: On Oct 6, 2014 12:26 PM, Stephan Beal sgb...@googlemail.com wrote: Hi, all, (This just happened...) The autosync option provides (incidentally, not specifically by

Re: [fossil-users] Tip: abusing autosync to abort a commit

2014-10-06 Thread Stephan Beal
On Mon, Oct 6, 2014 at 8:39 PM, Scott Robison sc...@casaderobison.com wrote: I have that functionality without auto sync. I don't use the -m comment option so I get a text editor showing me what has changed before I type the message. If I decide I need to not commit, I don't enter a message

Re: [fossil-users] Tip: abusing autosync to abort a commit

2014-10-06 Thread Scott Robison
I just wanted to give you a little grief based on past -m comments. :) On Oct 6, 2014 12:42 PM, Stephan Beal sgb...@googlemail.com wrote: On Mon, Oct 6, 2014 at 8:39 PM, Scott Robison sc...@casaderobison.com wrote: I have that functionality without auto sync. I don't use the -m comment

Re: [fossil-users] Tip: abusing autosync to abort a commit

2014-10-06 Thread Ron W
On Mon, Oct 6, 2014 at 2:41 PM, Stephan Beal sgb...@googlemail.com wrote: On Mon, Oct 6, 2014 at 8:39 PM, Scott Robison sc...@casaderobison.com wrote: I have that functionality without auto sync. I don't use the -m comment option so I get a text editor showing me what has changed before I

Re: [fossil-users] Tip: abusing autosync to abort a commit

2014-10-06 Thread Stephan Beal
On Mon, Oct 6, 2014 at 9:05 PM, Ron W ronw.m...@gmail.com wrote: Hmm. I seem to recall you extolling the virtues of command line editing. :) Touché! (That's a word we don't get to use nearly enough in everyday speech!) I confess I didn't think if this an a reason to use an actual editor.

Re: [fossil-users] Tip: abusing autosync to abort a commit

2014-10-06 Thread Stephan Beal
On Mon, Oct 6, 2014 at 9:00 PM, Scott Robison sc...@casaderobison.com wrote: I just wanted to give you a little grief based on past -m comments. :) LOL! i expected you might be, but wasn't sure if you had arrived on the list the last time that topic came up. But seriously, though, your

Re: [fossil-users] Tip: abusing autosync to abort a commit

2014-10-06 Thread Ron W
On Mon, Oct 6, 2014 at 3:05 PM, Stephan Beal sgb...@googlemail.com wrote: But seriously, though, your argument is a good reason not to use -m and rely on $EDITOR instead. i think my problem is that i regularly use 2 (sometimes 3) SCMs, namely fossil, svn, and (sometimes) git, often over a

Re: [fossil-users] Captcha and blind and visually impaired users

2014-10-06 Thread Rob
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Legend has it that on 06/10/2014 19:42, the fair wind whisper'd the words of Ron W: An audio CAPTCHA is possible, but you would need help from a webserver Do youthink it would be possible to implement a very simple textual captcha that

Re: [fossil-users] Tip: abusing autosync to abort a commit

2014-10-06 Thread Andy Bradford
Thus said Stephan Beal on Mon, 06 Oct 2014 20:25:55 +0200: The autosync option provides (incidentally, not specifically by design) a feature one doesn't have if it is turned off: the ability to abort a commit within a small (and unknown/varying) time frame. joke Perhaps there should be

Re: [fossil-users] Tip: abusing autosync to abort a commit

2014-10-06 Thread Scott Robison
On Mon, Oct 6, 2014 at 1:34 PM, Andy Bradford amb-fos...@bradfords.org wrote: Thus said Stephan Beal on Mon, 06 Oct 2014 20:25:55 +0200: The autosync option provides (incidentally, not specifically by design) a feature one doesn't have if it is turned off: the ability to abort a

Re: [fossil-users] Cloning repo

2014-10-06 Thread Andy Bradford
Thus said Stephan Beal on Mon, 06 Oct 2014 17:23:22 +0200: http://www.fossil-scm.org/index.html/info/165cc5c093e6ee36a78de5e01f7049235dbc1b1c?ln=1856-1867 Could i convince you to give that look? Yes, I'll look at it again later. I looked at it briefly before just long enough to remind

Re: [fossil-users] Tip: abusing autosync to abort a commit

2014-10-06 Thread paul
On 06/10/14 19:41, Scott Robison wrote: Bah! Commit not conmit. Stupid phone keyboard. On Oct 6, 2014 12:39 PM, Scott Robison sc...@casaderobison.com mailto:sc...@casaderobison.com wrote: On Oct 6, 2014 12:26 PM, Stephan Beal sgb...@googlemail.com mailto:sgb...@googlemail.com wrote:

Re: [fossil-users] Tip: abusing autosync to abort a commit

2014-10-06 Thread David Mason
On 6 October 2014 15:05, Stephan Beal sgb...@googlemail.com wrote: good reason not to use -m and rely on $EDITOR instead. i think my problem is that i regularly use 2 (sometimes 3) SCMs, namely fossil, svn, and (sometimes) git, often over a remote connection on systems with no emacs installed

Re: [fossil-users] Tip: abusing autosync to abort a commit

2014-10-06 Thread Stephan Beal
The problem is access - i don't have root access on most systems, and many others don't have compilers, or have quota limitations, weird/old OS versions, etc. So -m, which works the same in all environments, has become what my fingers just do without having to be told. - stephan Sent from a

Re: [fossil-users] Captcha and blind and visually impaired users

2014-10-06 Thread Ron W
On Mon, Oct 6, 2014 at 3:20 PM, Rob robjo...@gmail.com wrote: Do youthink it would be possible to implement a very simple textual captcha that randomizes a few numbers and a few operations and asks for the result? I think that should be fairly secure, especially if we output numbers as

Re: [fossil-users] Captcha and blind and visually impaired users

2014-10-06 Thread Rob
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, Legend has it that on 06/10/2014 22:35, the fair wind whisper'd the words of Ron W: It is doable, but a bot would still be able to read and interpret it. Theoretically speaking, making an automatic captcha solver for Fossil's current ascii art

Re: [fossil-users] Cloning repo

2014-10-06 Thread Jacek Cała
Stephan, Andy, Thanks for the quick action re my issue. I'll test it as soon as I have a little more time (end of this week?). Best, Jacek 2014-10-06 16:23 GMT+01:00 Stephan Beal sgb...@googlemail.com: On Mon, Oct 6, 2014 at 6:24 AM, Andy Bradford amb-fos...@bradfords.org wrote: After