On Sat, Sep 10, 2011 at 3:30 PM, Jeff Slutter <[email protected]> wrote:
> (Via the command line interface...) > > The 'timeline' command can take a -R argument to specify a repository. > It reports a set of information (time, user, check-in id, comment, > etc.), but I do not see it reporting the parent(s) of a check-in > > The 'info' command can take an object (for example, a check-in's sha1) > and report various information about it. If you give it a check-in's id, > you can see the list of parents to that check-in. However, the 'info' > command does not allow for a -R argument to specify a repo, it will only > accept a check-in sha1 if you are from within an open checkout. > > It should be a legal operation to get the info of a check-in within a > repository, without having to be in an open checkout (as is my > situation), but I can not find the command line voodoo to get it. Am I > missing something? In the end, I just need to get the list of parent > check-ins for a check-in, without being in an open checkout folder, so > by specifying the repository path. Does anyone know any way I can just > get this information? > A Fossil repository is an SQLite database. Your program can get any kind of information like this that it needs by querying the Fossil repository database directly. Information about the repository schema can be found here: http://www.fossil-scm.org/fossil/artifact/d72b7cf5aa06 To find parent/child relationships, you'll want to query the PLINK table. > > Thanks, > Jeff > > _______________________________________________ > fossil-users mailing list > [email protected] > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > -- D. Richard Hipp [email protected]
_______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

