On Fri, Jan 25, 2013 at 11:59 AM, Gilles <gilles.gana...@free.fr> wrote:

> I have another question: "fossil branch ls" lists branches available
> in the repo, but is there a command to list all the files/revisions
> that have been commited to the "experimental" branch?


There are two ways i know of to do that, but both show the files _in_ the
branch, whether or not they have been modified _in that branch_ since the
branch was created:

1) The web interface (/dir) allows one to browse a specific branch.

http://fossil-scm.org/index.html/dir?ci=encoding-glob

2) The JSON "dir" command with the "checkin" option:

[stephan@host:~/cvs/fossil/fossil]$ f json dir -checkin encoding-glob
{
"fossil":"bb63588e1bd65f1556bcf778a49833eda55c4e14",
"timestamp":1359113099,
"command":"dir",
"procTimeMs":36,
"payload":{
"name":"/",
"checkin":"f480173856136f6ad30686edc875de969a6f1a91",
"entries":[
...
{
"name":"COPYRIGHT-BSD2.txt",
"uuid":"c7dd1de9f9539a5a859c2b41fe4560604a774476",
"size":1528,
"timestamp":1274036925,
"downloadPath":"/raw/COPYRIGHT-BSD2.txt?name=c7dd1de9f9539a5a859c2b41fe4560604a774476"
},

...
}

but note that the output format from /json/dir is a bit dumb (IMO). i would
be very glad to get input about how to improve it.

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to