fossil.rst
changeset 1905 fba288d59662
child 1912 8b81a8f0f692
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/fossil.rst	Mon Feb 22 12:46:36 2016 +0200
@@ -0,0 +1,46 @@
+.. -*- 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)