[fossil-users] How to list commits made so far?

2011-11-06 Thread Gilles
Hello,

I'd like to check something about how Fossil works.

When I run fossil commit, it saves the changes made to all the files
that are monitored (ie. that have been added to the repository).

When I run fossil finfo on a file, it shows two hashes:

C:\Projects\Project1fossil finfo Form1.vb
History of Projects/Project1/Form1.vb
2011-11-05 [6a07f19e02] Some comment (user: Joe, artifact:
[9735460a2c])
2011-11-04 [367bcfa41a] Some comment (user: Joe, artifact:
[da4cb1ce3b])

Am I correct in understanding that the first hash identifies the
changes made to this particular file in that particular commit, while
the second hash identifies the commit that contains all the files that
were part of the commit at that time?

For instance, if Form1.vb and Form2.vb were edited when I ran fossil
commit, the second hash would be the same for both files because they
were commited together?

Is there a command that I could run to list all the commits, and for
each, would show which files were part of the commit?

Thank you.

___
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] iOS and Android?

2011-11-06 Thread Konstantin Khomoutov
On Sun, Nov 06, 2011 at 10:12:39AM +, David Bovill wrote:

 I'd like to be able to use Fossil as data storage for a project I am
 working on, this project will in the future need to work on mobile devices.
 Sqlite is accessible on these devices, would a minimal mobile version of
 Fossil for use as local data storage be feasible?
Fossil is not a library, but rather an executable program.
This is a crucial difference compared to plain sqlite which you simply
can load into your own program and call the API it exposes.

___
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] How to list commits made so far?

2011-11-06 Thread Stephan Beal
On Sun, Nov 6, 2011 at 11:19 AM, Gilles gilles.gana...@free.fr wrote:

 Is there a command that I could run to list all the commits, and for
 each, would show which files were part of the commit?


fossil timeline -showfiles -n 10

The -n parameter is kind of a kludge there. By default there is a limit to
how many are shown but there is no way to say no limit, so we can just
provide a really large number here.

To limit that to checkins (excluding wiki or ticket changes), add -t ci
to the command line.

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
___
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] How to list commits made so far?

2011-11-06 Thread Martin Gagnon

On 2011-11-06, at 07:09, Stephan Beal sgb...@googlemail.com wrote:

 On Sun, Nov 6, 2011 at 11:19 AM, Gilles gilles.gana...@free.fr wrote:
 Is there a command that I could run to list all the commits, and for
 each, would show which files were part of the commit?
 
 
 fossil timeline -showfiles -n 10
 
 The -n parameter is kind of a kludge there. By default there is a limit to 
 how many are shown but there is no way to say no limit, so we can just 
 provide a really large number 

I remembre trying n=-1 on web interface to get everything. I don't know about 
command line version... I'll try when I'll have access to my computer.. I guess 
it will need some way to escape the '-'.

-- 
Martin G.___
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] How to list commits made so far?

2011-11-06 Thread Konstantin Khomoutov
On Sun, 6 Nov 2011 09:28:51 -0500
Martin Gagnon eme...@gmail.com wrote:

  wrote: Is there a command that I could run to list all the commits,
  and for each, would show which files were part of the commit?
  fossil timeline -showfiles -n 10
  
  The -n parameter is kind of a kludge there. By default there is a
  limit to how many are shown but there is no way to say no limit,
  so we can just provide a really large number 
 
 I remembre trying n=-1 on web interface to get everything. I don't
 know about command line version... I'll try when I'll have access to
 my computer.. I guess it will need some way to escape the '-'.
May be it worth adding the -all command-line option to
`fossil timeline`?

Actually, I prefer Git's approach to this in which `git log` by default
returns everything, but if it detects it's operating on a TTY it pipes
its output through a $PAGER so the user gets only the $LINES worth of
output by default and then they're free to dig deeper or quit the
pager.  But as it currently stands, -all could be a good addition,
it seems.
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users