Re: [fossil-users] fossil v1.34 unexpected CLEAN command changes from v1.33

2015-11-07 Thread Stephan Beal
On Tue, Nov 3, 2015 at 7:41 PM, Scott Doctor  wrote:

>
> why is 10mb a magic number? Why have a magic number at all?
>

It's just to keep the .fslckout file from growing arbitrarily large, as all
undo info gets stuffed in there. But yeah, it's an arbitrary magic value.

-- 
- 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] fossil v1.34 unexpected CLEAN command changes from v1.33

2015-11-03 Thread Richard Hipp
On 11/3/15, Tony Papadimitriou  wrote:
> Thanks.
>
> BTW, the help for clean shows this (which is a bit misleading):
>
> --no-prompt  This option disables prompting the user for input and
> assumes an answer of 'No' for every question.
>
> But, if prompting is disabled by default, how does that disable it further?
>

By default it still prompts to confirm deletes of files that cannot be
undone - specifically files larger than 10MB.
-- 
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 v1.34 unexpected CLEAN command changes from v1.33

2015-11-03 Thread Tony Papadimitriou

Thanks.

BTW, the help for clean shows this (which is a bit misleading):

--no-prompt  This option disables prompting the user for input and 
assumes an answer of 'No' for every question.


But, if prompting is disabled by default, how does that disable it further?

-Original Message- 
From: Richard Hipp

Sent: Tuesday, November 03, 2015 3:09 AM
To: Fossil SCM user's discussion
Subject: Re: [fossil-users] fossil v1.34 unexpected CLEAN command 
changesfrom v1.33


On 11/2/15, to...@acm.org  wrote:
I built the latest version and (unfortunately, for me) CLEAN no longer 
asks

for confirmation.

Is this something I can have behave the way it was in v1.33 via some
setting?  (I often do a clean but may want to skip some file, so I like to
be asked.)


I just added the "fossil clean -i" or "--prompt" option that forced a
prompt for each file.  Still in a branch.



If not possible anymore, is there at least some way to see which files get
cleaned (other than running with –n option in advance which would require
running the clean command twice all the time – and remembering about it) 
so

I can undo the specific one I want to keep?

Thanks.




--
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 mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


Re: [fossil-users] fossil v1.34 unexpected CLEAN command changes from v1.33

2015-11-03 Thread Scott Doctor


why is 10mb a magic number? Why have a magic number at all?


Scott Doctor
sc...@scottdoctor.com
--

On 11/3/2015 5:20 AM, Richard Hipp wrote:

On 11/3/15, Tony Papadimitriou  wrote:

Thanks.

BTW, the help for clean shows this (which is a bit misleading):

--no-prompt  This option disables prompting the user for input and
assumes an answer of 'No' for every question.

But, if prompting is disabled by default, how does that disable it further?


By default it still prompts to confirm deletes of files that cannot be
undone - specifically files larger than 10MB.


___
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 v1.34 unexpected CLEAN command changes from v1.33

2015-11-02 Thread tonyp
I built the latest version and (unfortunately, for me) CLEAN no longer asks for 
confirmation.

Is this something I can have behave the way it was in v1.33 via some setting?  
(I often do a clean but may want to skip some file, so I like to be asked.)

If not possible anymore, is there at least some way to see which files get 
cleaned (other than running with –n option in advance which would require 
running the clean command twice all the time – and remembering about it) so I 
can undo the specific one I want to keep?

Thanks.
___
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 v1.34 unexpected CLEAN command changes from v1.33

2015-11-02 Thread Richard Hipp
On 11/2/15, to...@acm.org  wrote:
> I built the latest version and (unfortunately, for me) CLEAN no longer asks
> for confirmation.
>
> Is this something I can have behave the way it was in v1.33 via some
> setting?  (I often do a clean but may want to skip some file, so I like to
> be asked.)

I just added the "fossil clean -i" or "--prompt" option that forced a
prompt for each file.  Still in a branch.

>
> If not possible anymore, is there at least some way to see which files get
> cleaned (other than running with –n option in advance which would require
> running the clean command twice all the time – and remembering about it) so
> I can undo the specific one I want to keep?
>
> Thanks.
>


-- 
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