Re: [fossil-users] Thank you developers for the unversioned feature...

2018-02-12 Thread Warren Young
On Feb 12, 2018, at 11:07 PM, Matt Welland  wrote:
> 
> The most recent use case I found was to solve the annoying problem of
> having some changes that are not quite ready to commit and needing to
> move to another computer.

I just use branches for that.  My rule is that trunk should always build, as 
should long-lived stable branches, but all other branches are a free-for-all 
zone, which only have to build just prior to being merged back into their 
parent branch.

The advantage of this over your method is that when I find myself needing a 
checkpoint across work days or to move work from one machine to another, 
chances are good that I actually need 2+ checkins to stabilize it.  (Common 
case: I check in something that works fine on my local machine but which breaks 
when built on a different platform.)

I wouldn’t really want to have to pull individual patches out of fossil uv and 
apply them in the correct order.  That just feels like pre-VCS thinking to me.  
I remember needing to manually apply patches in a very specific order.  I don’t 
want to go back to those days.

> I'd like to be able to pass
> filename(s) to the unversioned sync or pull commands to retrieve only a
> specific file or files. 

wget https://example.com/uv/path/to/my/file.txt

where example.com is the the base URL of your central Fossil instance.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Thank you developers for the unversioned feature...

2018-02-12 Thread Matt Welland
I'm finding the unversioned files to be extraordinarily useful. Thanks
you all for implementing it.

The most recent use case I found was to solve the annoying problem of
having some changes that are not quite ready to commit and needing to
move to another computer. By storing a patch as an unversioned file it
was trivial to quickly capture the work, sync it, and then apply the
patch when I got home and continue working. Super handy.

One request for your consideration - I'd like to be able to pass
filename(s) to the unversioned sync or pull commands to retrieve only a
specific file or files. 

Thanks,

Matt
-=-
___
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] Windows GUI that allows diff between two revisions?

2018-02-12 Thread Warren Young
On Feb 12, 2018, at 6:04 PM, Ron W  wrote:
> 
> I've never tried it, but a friend of mine showed me an application built 
> using Electron.

I realize that you mean that you have not yet built an Electron app, but 
chances are pretty good that you already use at least one Electron app:

   https://electronjs.org/apps

Here’s a cherry-picked subset of likely candidates for this audience:

- Atom (from which Electron was derived)
- Visual Studio Code
- Skype (late 2017 and newer only)
- Signal
- Slack

Electron’s delivering on the promise of several prior cross-platform web-based 
or web-adjacent frameworks: Haxe, PhoneGap/Cordova, Adobe Flex, etc.

And please, no flames.  I’m not happy that Skype now takes a quarter gig of 
disk space in part because of Electron, but there’s no denying that it’s useful.
___
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] Point to "Check-in Names" wiki document from "fossil help"?

2018-02-12 Thread Warren Young
On Feb 12, 2018, at 4:36 PM, Richard Hipp  wrote:
> 
> On 2/12/18, Warren Young  wrote:
>> The ?VERSION? parameters to some commands are underdocumented for lack of
>> space in “fossil help” output.
> ...
>> 
>> Then we can say something like this in the fossil help output:
>> 
>>"The VERSION argument can take many forms, all documented
>> at https://fossil-scm.org/names”
> 
> I would prefer to create a documentation page that is built into the
> Fossil binary, so that (1) it is useful when off-line and (2) to avoid
> unnecessary traffic to the website.

I considered that before posting, but I've observed that most (all?) fossil 
help pages fit onto a single screen with modern terminal window heights.  If 
you keep your terminal windows at 64 lines high — near my average, probably — 
an elinks dump of the current page takes 4 screenfuls.

So, either we end up with an uncommonly long page — and reignites the old 
$PAGER battle — or someone needs to do a whole lot of prose tightening.  

> There is precedent for this in the /wiki_rules and /md_rules pages.

That makes me wonder what the prefix for such pages would be.  (Yes, plural: 
all common parameters should have a help page to factor out repeated material.) 
 Some ideas:

1. It’s already case-sensitive, so give different output for “fossil help 
version” and “fossil help VERSION”.  “fossil help -a” should list both 
“version” and “VERSION”.

2. Continue with the Tclish optional-parameter syntax: accept “fossil help 
?version?”, and list “?version?” in “fossil help -a” output.  There’s the 
awkwardness of the possible conflict with shell globbing here, but it can be 
escaped if need be.  Command abbreviation allows “fossil he \?v”.

3. Option 3 sucks.  Don’t do option 3. :)  (“param_” prefix.)

I’m not sure which of options 1 and 2 are quicker for me to type.  It’s 
probably roughly a wash.
___
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] Windows GUI that allows diff between two revisions?

2018-02-12 Thread Ron W
On Mon, Feb 12, 2018 at 7:19 PM, 
wrote:

> Date: Tue, 13 Feb 2018 01:06:26 +0100
> From: Gilles 
> Subject: Re: [fossil-users] Windows GUI that allows diff between two
> revisions?
>
> On 13/02/2018 00:33, Richard Hipp wrote:
> > On 2/12/18, Gilles  wrote:
> >> Fuel* doesn't support diffing two revisions of a file in the repository:
> >>
> >> https://s14.postimg.org/h528wio5t/Fossil.Fuel.diff.two.revisions.png
> >>
> >> Since it hasn't been updated since 2015… is there another Windows GUI
> >> application that supports this?
> > Well, you could run "fossil ui", then surf to the page that shows a
> > complete history of the file in question, with its timeline, then
> > click on the timeline graph node for the first version (so that it
> > gets a red dot in the center) then click on the timeline graph node
> > for the second version.
> >
> > That's what I always do, anyhow.
> Thanks for the tip.
>
> 
>
> So at this point, there is simply no Windows GUI that supports diffing
> two revisions of a file that's been checked in? IOW, if I'd like to diff
> two versions of a file with Fuel, I should do this while it's still
> checked out ?
>

As best I recall, Fuel uses "fossil ui" (or "fossil server") behind the
scenes, so any feature of "fossil ui" should also be usable in Fuel.

It has been years since I looked at Fuel (as an option for co-workers who
dislike the command line), so I'm not 100% sure, but I do remember Fuel
having an embedded web browser to display content from "fossil ui". I
thought Fuel's design somewhat "clunky". My co-workers said it was more
confusing than using the Fossil command line.

However, since "fossil ui" already provides most of a good GUI, maybe a
framework like electronjs.org could be used to create a Windows GUI for
Fossil that integrates the functionality of both "fossil ui" and the Fossil
command line in a seamless fashion.

FYI, Electron is a framework, based on the open source Chromium browser
(which is also the base for the Chrome browser), for "converting" a
web-base application into a desktop application. Also, Electron supports
all 3 of Windows, MacOS and Linux.

I've never tried it, but a friend of mine showed me an application built
using Electron.
___
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] Windows GUI that allows diff between two revisions?

2018-02-12 Thread Dan Mack

On Tue, 13 Feb 2018, Gilles wrote:

The timeline I see shows no red dot for a given file after opening a DOS 
box, running "fossil ui", and navigating down the Files menu… but 
anyhow, this still means having to dump Fuel and move into an entirely 
different universe.


In the timeline view - the red dot will appear in the circle *after* you 
click the first revision's circle you want to diff.  When you click the 
other version, the graphical diff will appear below.


Dan
___
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] Windows GUI that allows diff between two revisions?

2018-02-12 Thread Gilles

On 13/02/2018 00:33, Richard Hipp wrote:

On 2/12/18, Gilles  wrote:

Fuel* doesn't support diffing two revisions of a file in the repository:

https://s14.postimg.org/h528wio5t/Fossil.Fuel.diff.two.revisions.png

Since it hasn't been updated since 2015… is there another Windows GUI
application that supports this?

Well, you could run "fossil ui", then surf to the page that shows a
complete history of the file in question, with its timeline, then
click on the timeline graph node for the first version (so that it
gets a red dot in the center) then click on the timeline graph node
for the second version.

That's what I always do, anyhow.

Thanks for the tip.

https://s14.postimg.org/blzpfm42p/Fossil.UI.438_D4_F20-_FB48-4_C83-9759-2_FDF0_F35_CEC5.png

The timeline I see shows no red dot for a given file after opening a DOS 
box, running "fossil ui", and navigating down the Files menu… but 
anyhow, this still means having to dump Fuel and move into an entirely 
different universe.


So at this point, there is simply no Windows GUI that supports diffing 
two revisions of a file that's been checked in? IOW, if I'd like to diff 
two versions of a file with Fuel, I should do this while it's still 
checked out ?

___
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] Windows GUI that allows diff between tworevisions?

2018-02-12 Thread Tony Papadimitriou
I use WinMerge (http://winmerge.org/) which also let's you edit if you like. 
Set as default with something like: fossil set gdiff-command 
c:\WinMerge\WinMergeU.exe
There is also WinDiff (by MS) that doesn't let you edit, but it is an older 
app and I'm not sure where I found it.


-Original Message- 
From: Gilles

Sent: Tuesday, February 13, 2018 12:44 AM
To: fossil-users@lists.fossil-scm.org
Subject: Spam?(14.031):[fossil-users] Windows GUI that allows diff between 
tworevisions?


Hello,

Fuel* doesn't support diffing two revisions of a file in the repository:

https://s14.postimg.org/h528wio5t/Fossil.Fuel.diff.two.revisions.png

Since it hasn't been updated since 2015… is there another Windows GUI
application that supports this?

Thank you.

* https://fuel-scm.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] Point to "Check-in Names" wiki document from "fossil help"?

2018-02-12 Thread Richard Hipp
On 2/12/18, Warren Young  wrote:
> The ?VERSION? parameters to some commands are underdocumented for lack of
> space in “fossil help” output.
...
>
> Then we can say something like this in the fossil help output:
>
> "The VERSION argument can take many forms, all documented
>  at https://fossil-scm.org/names”

I would prefer to create a documentation page that is built into the
Fossil binary, so that (1) it is useful when off-line and (2) to avoid
unnecessary traffic to the website.

There is precedent for this in the /wiki_rules and /md_rules pages.
-- 
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] Windows GUI that allows diff between two revisions?

2018-02-12 Thread Richard Hipp
On 2/12/18, Gilles  wrote:
>
> Fuel* doesn't support diffing two revisions of a file in the repository:
>
> https://s14.postimg.org/h528wio5t/Fossil.Fuel.diff.two.revisions.png
>
> Since it hasn't been updated since 2015… is there another Windows GUI
> application that supports this?

Well, you could run "fossil ui", then surf to the page that shows a
complete history of the file in question, with its timeline, then
click on the timeline graph node for the first version (so that it
gets a red dot in the center) then click on the timeline graph node
for the second version.

That's what I always do, anyhow.

-- 
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] Point to "Check-in Names" wiki document from "fossil help"?

2018-02-12 Thread Warren Young
The ?VERSION? parameters to some commands are underdocumented for lack of space 
in “fossil help” output.  For example, the help for the “update” command 
implies that you can only put a tag, branch, or version name here, with 
“version” being a vague term, unhelpful to newbies.

The complete documentation for all of this is here:

https://www.fossil-scm.org/index.html/doc/trunk/www/checkin_names.wiki

We obviously cannot reproduce all of that in fossil help output, so how about 
we just point to it, possibly making use of Fossil’s recent URL aliasing 
feature to get something shorter like 

https://www.fossil-scm.org/index.html/names

With some help from whatever front-end proxy fossil-scm.org is using, it could 
be even shorter:

https://fossil-scm.org/names

Then we can say something like this in the fossil help output:

"The VERSION argument can take many forms, all documented
 at https://fossil-scm.org/names”
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] Windows GUI that allows diff between two revisions?

2018-02-12 Thread Gilles

Hello,

Fuel* doesn't support diffing two revisions of a file in the repository:

https://s14.postimg.org/h528wio5t/Fossil.Fuel.diff.two.revisions.png

Since it hasn't been updated since 2015… is there another Windows GUI 
application that supports this?


Thank you.

* https://fuel-scm.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] typo on wiki page - low priority

2018-02-12 Thread Dan Mack
I know this page is marked obsolete but my OCD prevents me from not 
mentioning the slight type on the Fossil-2.0 wiki entry:


10  to Fossil for Fossil 2.0.  However, when the
11  [Shattered attach](https://shattered.io/) against SHA1 appeared
12  on 2017-02-23,

I am pretty sure you meant "attack", not "attach" on line #11.

Dan
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users


[fossil-users] [patch] TCL_LIBRARY_NAME is dotless on FreeBSD

2018-02-12 Thread Pietro Cerutti
The following patch addresses the naming convention for Tcl libraries on 
FreeBSD, which is dotless.


Index: src/th_tcl.c
==
--- src/th_tcl.c
+++ src/th_tcl.c
@@ -131,10 +131,17 @@
#define TCL_LIBRARY_NAME "libtcl8.6.dylib\0"
#  endif
#  ifndef TCL_MINOR_OFFSET
#define TCL_MINOR_OFFSET (8)
#  endif
+#elif defined(__FreeBSD__)
+#  ifndef TCL_LIBRARY_NAME
+#define TCL_LIBRARY_NAME "libtcl86.so\0"
+#  endif
+#  ifndef TCL_MINOR_OFFSET
+#define TCL_MINOR_OFFSET (7)
+#  endif
#else
#  ifndef TCL_LIBRARY_NAME
#define TCL_LIBRARY_NAME "libtcl8.6.so\0"
#  endif
#  ifndef TCL_MINOR_OFFSET

This fixes the following problem in "fossil version -v".

Without patch:

TCL (Tcl 8.6.8, loaded TH_ERROR: could not load any supported Tcl 8.6, 
8.5, or 8.4 shared library "libtcl8.x.so")


With patch:

TCL (Tcl 8.6.8, loaded TH_OK: 8.6.8)

Thanks,

--
Pietro Cerutti


signature.asc
Description: PGP signature
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users