On Mon, Jan 28, 2013 at 7:20 AM, Richard Hipp <[email protected]> wrote:
> > > On Sun, Jan 27, 2013 at 9:18 AM, Gilles <[email protected]> wrote: > >> >> So it looks like "fossil ls <branch name>" doesn't actually list the >> files in the branch but rather the files in the branch currently >> active (and its files checked out in the work directory). >> > > > The command is actually: > > fossil ls $VERSION > > If you specify a branch-name for $VERSION, then it takes the most recent > check-in on that branch. See > http://www.fossil-scm.org/fossil/doc/trunk/www/checkin_names.wiki for > additional information on $VERSION names. > > The output is all files under management for the particular $VERSION that > you specify. > > That's what I tough, but it seems that specifying "VERSION" doesn't work as expected, it have no effect and always list files on the branch corresponding to the current checkout. Here a simple test that demonstrate it on a new repository created from scratch... --------------------------------------------------------------------------------- $ fossil init testrepo.fossil project-id: d0b945d10191d8df07ddc6a7b0e860f72819f41d server-id: 63e9f2921e6eff72fd7423aabec7a424de2b82a9 ... $ fossil open testrepo.fossil $ echo "bla" > file1.txt $ fossil add file1.txt ADDED file1.txt $ fossil ci -m "added file1.txt" New_Version: 3973f4d3d4b5d3a2bdd59fe27f3fcab22efece3c $ echo "bla bla" > file2.txt $ fossil add file2.txt ADDED file2.txt $ fossil ci -m "add file2 on branch-A" -b branch-A New_Version: e9a764634e288fb490a717e3b302443ee3556f0c $ fossil ls file1.txt file2.txt $ fossil ls trunk file1.txt file2.txt $ fossil up trunk REMOVE file2.txt ------------------------------------------------------------------------------- updated-to: 3973f4d3d4b5d3a2bdd59fe27f3fcab22efece3c 2013-01-28 13:20:56 UTC tags: trunk comment: added file1.txt (user: mgagnon) changes: 1 file modified. "fossil undo" is available to undo changes to the working checkout. $ fossil ls file1.txt $ fossil ls branch-A file1.txt --------------------------------------------------------------------------------- Regards, -- Martin G.
_______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

