fossil.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Mon, 22 Feb 2016 12:46:36 +0200
changeset 1905 fba288d59662
child 1912 8b81a8f0f692
permissions -rw-r--r--
Include only local subsections into TOC. This prevent duplication of TOC when build single page HTML document. Also this make unnecessary CSS hack to hide document title as top level section.

.. -*- coding: utf-8; -*-
.. include:: HEADER.rst

=============
 Fossil DVCS
=============
.. contents::
   :local:

Simple work flow
================
::

  $ mkdir proj
  $ cd proj
  $ fossil new proj
  project-id: 3ec2bca6e6ee450ee4763d3ec43c7023e4f8fe92
  server-id:  2a7bacb2b49cd97e71753697f7e116fda9fc199c
  admin-user: user (initial password is "f8362e")
  $ ls .
  proj
  $ fossil open proj
  $ ls .
  _FOSSIL_
  proj
  $ touch hello.c
  $ fossil add hello.c
  ADDED  hello.c
  $ fossil ci -m init
  New_Version: dc0f9cd1e8fc4ec2cd580c5fc231030313b91107
  $ echo "#define TRUE 1" >>hello.c
  $ fossil diff
  ...
  $ fossil status
  ...
  $ fossil ci -m "fixed bug"
  ...
  $ fossil timeline
  ...
  $ fossil leaves
  ...
  $ fossil ls
  hello.c
  $ fossil branch list
  === 2010-10-12 ===
  10:45:13 [a71787083b] initial empty check-in (user: user tags: trunk)