equal
deleted
inserted
replaced
|
1 .. -*- coding: utf-8; -*- |
|
2 .. include:: HEADER.rst |
|
3 |
|
4 ============= |
|
5 Fossil DVCS |
|
6 ============= |
|
7 .. contents:: |
|
8 :local: |
|
9 |
|
10 Simple work flow |
|
11 ================ |
|
12 :: |
|
13 |
|
14 $ mkdir proj |
|
15 $ cd proj |
|
16 $ fossil new proj |
|
17 project-id: 3ec2bca6e6ee450ee4763d3ec43c7023e4f8fe92 |
|
18 server-id: 2a7bacb2b49cd97e71753697f7e116fda9fc199c |
|
19 admin-user: user (initial password is "f8362e") |
|
20 $ ls . |
|
21 proj |
|
22 $ fossil open proj |
|
23 $ ls . |
|
24 _FOSSIL_ |
|
25 proj |
|
26 $ touch hello.c |
|
27 $ fossil add hello.c |
|
28 ADDED hello.c |
|
29 $ fossil ci -m init |
|
30 New_Version: dc0f9cd1e8fc4ec2cd580c5fc231030313b91107 |
|
31 $ echo "#define TRUE 1" >>hello.c |
|
32 $ fossil diff |
|
33 ... |
|
34 $ fossil status |
|
35 ... |
|
36 $ fossil ci -m "fixed bug" |
|
37 ... |
|
38 $ fossil timeline |
|
39 ... |
|
40 $ fossil leaves |
|
41 ... |
|
42 $ fossil ls |
|
43 hello.c |
|
44 $ fossil branch list |
|
45 === 2010-10-12 === |
|
46 10:45:13 [a71787083b] initial empty check-in (user: user tags: trunk) |