Hex Artifact Content
Not logged in

Artifact c70816f44acbccfa4e6acc8bcfb0c915e37fe9c8:

File www/concepts.html part of check-in [e319e8e870] - Improvements to timeline formatting. Added the "concepts.html" document. by drh on 2007-08-25 03:30:15. Also file www/concepts.html part of check-in [424d47e453] - Attempting the same merge that aku tried and got empty files with. by drh on 2007-08-25 18:58:16.

0000: 3c 68 74 6d 6c 3e 0a 3c 68 65 61 64 3e 0a 3c 74  <html>.<head>.<t
0010: 69 74 6c 65 3e 46 6f 73 73 69 6c 20 43 6f 6e 63  itle>Fossil Conc
0020: 65 70 74 73 3c 2f 74 69 74 6c 65 3e 0a 3c 2f 68  epts</title>.</h
0030: 65 61 64 3e 0a 3c 62 6f 64 79 20 62 67 63 6f 6c  ead>.<body bgcol
0040: 6f 72 3d 22 77 68 69 74 65 22 3e 0a 3c 68 31 20  or="white">.<h1 
0050: 61 6c 69 67 6e 3d 22 63 65 6e 74 65 72 22 3e 0a  align="center">.
0060: 46 6f 73 73 69 6c 20 43 6f 6e 63 65 70 74 73 0a  Fossil Concepts.
0070: 3c 2f 68 31 3e 0a 0a 3c 68 32 3e 31 2e 30 20 49  </h1>..<h2>1.0 I
0080: 6e 74 72 6f 64 75 63 74 69 6f 6e 3c 2f 68 32 3e  ntroduction</h2>
0090: 0a 3c 70 3e 0a 3c 61 20 68 72 65 66 3d 22 69 6e  .<p>.<a href="in
00a0: 64 65 78 2e 68 74 6d 6c 22 3e 46 6f 73 73 69 6c  dex.html">Fossil
00b0: 3c 2f 61 3e 20 69 73 20 61 0a 3c 61 20 68 72 65  </a> is a.<a hre
00c0: 66 3d 22 68 74 74 70 3a 2f 2f 65 6e 2e 77 69 6b  f="http://en.wik
00d0: 69 70 65 64 69 61 2e 6f 72 67 2f 77 69 6b 69 2f  ipedia.org/wiki/
00e0: 53 6f 66 74 77 61 72 65 5f 63 6f 6e 66 69 67 75  Software_configu
00f0: 72 61 74 69 6f 6e 5f 6d 61 6e 61 67 65 6d 65 6e  ration_managemen
0100: 74 22 3e 0a 73 6f 66 74 77 61 72 65 20 63 6f 6e  t">.software con
0110: 66 69 67 75 72 61 74 69 6f 6e 20 6d 61 6e 61 67  figuration manag
0120: 65 6d 65 6e 74 3c 2f 61 3e 20 73 79 73 74 65 6d  ement</a> system
0130: 2e 0a 46 6f 73 73 69 6c 20 69 73 20 73 6f 66 74  ..Fossil is soft
0140: 77 61 72 65 20 74 68 61 74 20 69 73 20 64 65 73  ware that is des
0150: 69 67 6e 20 74 6f 20 63 6f 6e 74 72 6f 6c 20 61  ign to control a
0160: 6e 64 20 74 72 61 63 6b 20 74 68 65 0a 64 65 76  nd track the.dev
0170: 65 6c 6f 70 6d 65 6e 74 20 6f 66 20 61 20 73 6f  elopment of a so
0180: 66 74 77 61 72 65 20 70 72 6f 6a 65 63 74 20 61  ftware project a
0190: 6e 64 20 74 6f 20 72 65 63 6f 72 64 20 74 68 65  nd to record the
01a0: 20 68 69 73 74 6f 72 79 0a 6f 66 20 74 68 65 20   history.of the 
01b0: 70 72 6f 6a 65 63 74 2e 0a 54 68 65 72 65 20 61  project..There a
01c0: 72 65 20 6d 61 6e 79 20 73 75 63 68 20 73 79 73  re many such sys
01d0: 74 65 6d 73 20 69 6e 20 75 73 65 20 74 6f 64 61  tems in use toda
01e0: 79 2e 20 20 46 6f 73 73 69 6c 20 73 74 72 69 76  y.  Fossil striv
01f0: 65 73 20 74 6f 0a 64 69 73 74 69 6e 67 75 69 73  es to.distinguis
0200: 68 20 69 74 73 65 6c 66 20 66 72 6f 6d 20 74 68  h itself from th
0210: 65 20 6f 74 68 65 72 73 20 62 79 20 62 65 69 6e  e others by bein
0220: 67 20 65 78 74 72 65 6d 65 6c 79 20 73 69 6d 70  g extremely simp
0230: 6c 65 0a 74 6f 20 73 65 74 75 70 20 61 6e 64 20  le.to setup and 
0240: 6f 70 65 72 61 74 65 2e 3c 2f 70 3e 0a 0a 3c 70  operate.</p>..<p
0250: 3e 54 68 69 73 20 64 6f 63 75 6d 65 6e 74 20 69  >This document i
0260: 73 20 69 6e 74 65 6e 64 65 64 20 61 73 20 61 20  s intended as a 
0270: 71 75 69 63 6b 20 69 6e 74 72 6f 64 75 63 74 69  quick introducti
0280: 6f 6e 20 74 6f 20 74 68 65 20 63 6f 6e 63 65 70  on to the concep
0290: 74 73 0a 62 65 68 69 6e 64 20 66 6f 73 73 69 6c  ts.behind fossil
02a0: 2e 3c 2f 70 3e 0a 0a 3c 68 32 3e 32 2e 30 20 43  .</p>..<h2>2.0 C
02b0: 6f 6d 70 6f 73 69 74 69 6f 6e 20 4f 66 20 41 20  omposition Of A 
02c0: 50 72 6f 6a 65 63 74 3c 2f 68 32 3e 0a 3c 69 6d  Project</h2>.<im
02d0: 67 20 73 72 63 3d 22 63 6f 6e 63 65 70 74 31 2e  g src="concept1.
02e0: 67 69 66 22 20 61 6c 69 67 6e 3d 22 72 69 67 68  gif" align="righ
02f0: 74 22 20 68 73 70 61 63 65 3d 22 31 30 22 3e 0a  t" hspace="10">.
0300: 0a 3c 70 3e 41 20 73 6f 66 74 77 61 72 65 20 70  .<p>A software p
0310: 72 6f 6a 65 63 74 20 6e 6f 72 6d 61 6c 6c 79 20  roject normally 
0320: 63 6f 6e 73 69 73 74 73 20 6f 66 20 61 20 22 73  consists of a "s
0330: 6f 75 72 63 65 20 74 72 65 65 22 2e 0a 41 20 73  ource tree"..A s
0340: 6f 75 72 63 65 20 74 72 65 65 20 69 73 20 61 20  ource tree is a 
0350: 68 69 65 72 61 72 63 68 79 20 6f 66 20 66 69 6c  hierarchy of fil
0360: 65 73 20 74 68 61 74 20 61 72 65 20 75 73 65 64  es that are used
0370: 20 74 6f 20 67 65 6e 65 72 61 74 65 0a 74 68 65   to generate.the
0380: 20 65 6e 64 20 70 72 6f 64 75 63 74 2e 20 20 54   end product.  T
0390: 68 65 20 73 6f 75 72 63 65 20 74 72 65 65 20 63  he source tree c
03a0: 68 61 6e 67 65 73 20 6f 76 65 72 20 74 69 6d 65  hanges over time
03b0: 20 61 73 20 74 68 65 0a 73 6f 66 74 77 61 72 65   as the.software
03c0: 20 67 72 6f 77 73 20 61 6e 64 20 65 78 70 61 6e   grows and expan
03d0: 64 73 20 61 6e 64 20 61 73 20 66 65 61 74 75 72  ds and as featur
03e0: 65 73 20 61 72 65 20 61 64 64 65 64 20 61 6e 64  es are added and
03f0: 20 62 75 67 73 0a 61 72 65 20 66 69 78 65 64 2e   bugs.are fixed.
0400: 20 20 41 20 73 6e 61 70 73 68 6f 74 20 6f 66 20    A snapshot of 
0410: 74 68 65 20 73 6f 75 72 63 65 20 74 72 65 65 20  the source tree 
0420: 61 74 20 61 6e 79 20 70 6f 69 6e 74 20 69 6e 20  at any point in 
0430: 74 69 6d 65 0a 69 73 20 63 61 6c 6c 65 64 20 61  time.is called a
0440: 20 22 76 65 72 73 69 6f 6e 22 20 6f 72 20 61 20   "version" or a 
0450: 22 62 61 73 65 6c 69 6e 65 22 20 6f 66 20 74 68  "baseline" of th
0460: 65 20 70 72 6f 64 75 63 74 2e 3c 2f 70 3e 0a 0a  e product.</p>..
0470: 3c 70 3e 41 20 22 72 65 70 6f 73 69 74 6f 72 79  <p>A "repository
0480: 22 20 69 73 20 61 20 64 61 74 61 62 61 73 65 20  " is a database 
0490: 74 68 61 74 20 63 6f 6e 74 61 69 6e 73 20 63 6f  that contains co
04a0: 70 69 65 73 20 6f 66 20 61 6c 6c 20 68 69 73 74  pies of all hist
04b0: 6f 72 69 63 61 6c 0a 76 65 72 73 69 6f 6e 73 20  orical.versions 
04c0: 6f 72 20 62 61 73 65 6c 69 6e 65 73 20 66 6f 72  or baselines for
04d0: 20 61 20 70 72 6f 6a 65 63 74 2e 20 20 42 61 73   a project.  Bas
04e0: 65 6c 69 6e 65 73 20 61 72 65 20 6e 6f 72 6d 61  elines are norma
04f0: 6c 6c 79 20 73 74 6f 72 65 64 20 69 6e 20 74 68  lly stored in th
0500: 65 0a 72 65 70 6f 73 69 74 6f 72 79 20 69 6e 20  e.repository in 
0510: 61 20 68 69 67 68 6c 79 20 73 70 61 63 65 2d 65  a highly space-e
0520: 66 66 69 63 69 65 6e 74 20 63 6f 6d 70 72 65 73  fficient compres
0530: 73 65 64 20 66 6f 72 6d 61 74 20 28 64 65 6c 74  sed format (delt
0540: 61 20 65 6e 63 6f 64 69 6e 67 29 2e 0a 42 75 74  a encoding)..But
0550: 20 74 68 61 74 20 69 73 20 61 6e 20 69 6d 70 6c   that is an impl
0560: 65 6d 65 6e 74 61 74 69 6f 6e 20 64 65 74 61 69  ementation detai
0570: 6c 20 74 68 61 74 20 79 6f 75 20 74 68 65 20 75  l that you the u
0580: 73 65 72 20 6e 65 65 64 20 6e 6f 74 20 77 6f 72  ser need not wor
0590: 72 79 20 6f 76 65 72 2e 0a 54 68 69 6e 6b 20 6f  ry over..Think o
05a0: 66 20 74 68 65 20 72 65 70 6f 73 69 74 6f 72 79  f the repository
05b0: 20 61 73 20 61 20 73 61 66 65 20 70 6c 61 63 65   as a safe place
05c0: 20 77 68 65 72 65 20 61 6c 6c 20 79 6f 75 72 20   where all your 
05d0: 6f 6c 64 20 62 61 73 65 6c 69 6e 65 73 0a 73 65  old baselines.se
05e0: 63 75 72 65 6c 79 20 73 74 6f 72 65 64 20 61 77  curely stored aw
05f0: 61 79 20 61 6e 64 20 61 76 61 69 6c 61 62 6c 65  ay and available
0600: 20 66 6f 72 20 72 65 74 72 69 65 76 61 6c 20 77   for retrieval w
0610: 68 65 6e 65 76 65 72 20 79 6f 75 20 6e 65 65 64  henever you need
0620: 0a 74 68 65 6d 2e 3c 2f 70 3e 0a 0a 3c 70 3e 41  .them.</p>..<p>A
0630: 20 72 65 70 6f 73 69 74 6f 72 79 20 69 6e 20 66   repository in f
0640: 6f 73 73 69 6c 20 69 73 20 61 20 73 69 6e 67 6c  ossil is a singl
0650: 65 20 66 69 6c 65 20 6f 6e 20 79 6f 75 72 20 64  e file on your d
0660: 69 73 6b 2e 20 20 54 68 69 73 20 66 69 6c 65 0a  isk.  This file.
0670: 6d 69 67 68 74 20 62 65 20 72 61 74 68 65 72 20  might be rather 
0680: 6c 61 72 67 65 72 20 28 64 6f 7a 65 6e 73 20 6f  larger (dozens o
0690: 72 20 68 75 6e 64 72 65 64 73 20 6f 66 20 6d 65  r hundreds of me
06a0: 67 61 62 79 74 65 73 20 66 6f 72 20 61 20 6c 61  gabytes for a la
06b0: 72 67 65 0a 6f 72 20 6c 6f 6e 67 20 72 75 6e 6e  rge.or long runn
06c0: 69 6e 67 20 70 72 6f 6a 65 63 74 29 20 62 75 74  ing project) but
06d0: 20 69 74 20 69 73 20 6e 65 76 65 72 74 68 65 6c   it is neverthel
06e0: 65 73 73 20 6a 75 73 74 20 61 20 66 69 6c 65 2e  ess just a file.
06f0: 20 20 59 6f 75 0a 63 61 6e 20 6d 6f 76 65 20 69    You.can move i
0700: 74 20 61 72 6f 75 6e 64 2c 20 72 65 6e 61 6d 65  t around, rename
0710: 20 69 74 2c 20 77 72 69 74 65 20 69 74 20 6f 75   it, write it ou
0720: 74 20 74 6f 20 61 20 6d 65 6d 6f 72 79 20 73 74  t to a memory st
0730: 69 63 6b 2c 20 6f 72 0a 64 6f 20 61 6e 79 74 68  ick, or.do anyth
0740: 69 6e 67 20 65 6c 73 65 20 79 6f 75 20 6e 6f 72  ing else you nor
0750: 6d 61 6c 6c 79 20 64 6f 20 77 69 74 68 20 66 69  mally do with fi
0760: 6c 65 73 2e 3c 2f 70 3e 0a 0a 3c 70 3e 45 61 63  les.</p>..<p>Eac
0770: 68 20 73 6f 75 72 63 65 20 74 72 65 65 20 74 68  h source tree th
0780: 61 74 20 69 73 20 63 6f 6e 74 72 6f 6c 6c 65 64  at is controlled
0790: 20 62 79 20 66 6f 73 73 69 6c 20 69 73 20 61 73   by fossil is as
07a0: 73 6f 63 69 61 74 65 64 20 77 69 74 68 0a 61 20  sociated with.a 
07b0: 73 69 6e 67 6c 65 20 72 65 70 6f 73 69 74 6f 72  single repositor
07c0: 79 20 6f 6e 20 74 68 65 20 6c 6f 63 61 6c 20 64  y on the local d
07d0: 69 73 6b 20 64 72 69 76 65 2e 20 20 59 6f 75 20  isk drive.  You 
07e0: 63 61 6e 20 74 77 6f 20 6f 72 20 6d 6f 72 65 0a  can two or more.
07f0: 73 6f 75 72 63 65 20 74 72 65 65 73 20 74 69 65  source trees tie
0800: 64 20 74 6f 20 61 20 73 69 6e 67 6c 65 20 72 65  d to a single re
0810: 70 6f 73 69 74 6f 72 79 20 69 66 20 79 6f 75 20  pository if you 
0820: 77 61 6e 74 20 28 74 68 6f 75 67 68 20 6f 6e 65  want (though one
0830: 0a 74 72 65 65 20 70 65 72 20 72 65 70 6f 73 69  .tree per reposi
0840: 74 6f 72 79 20 69 73 20 74 68 65 20 6d 6f 73 74  tory is the most
0850: 20 63 6f 6d 6d 6f 6e 20 63 6f 6e 66 69 67 75 72   common configur
0860: 61 74 69 6f 6e 2e 29 20 20 53 6f 20 61 0a 73 69  ation.)  So a.si
0870: 6e 67 6c 65 20 72 65 70 6f 73 69 74 6f 72 79 20  ngle repository 
0880: 63 61 6e 20 62 65 20 61 73 73 6f 63 69 61 74 65  can be associate
0890: 64 20 77 69 74 68 20 6d 61 6e 79 20 73 6f 75 72  d with many sour
08a0: 63 65 20 74 72 65 65 73 2c 20 62 75 74 0a 65 61  ce trees, but.ea
08b0: 63 68 20 73 6f 75 72 63 65 20 74 72 65 65 20 69  ch source tree i
08c0: 73 20 61 73 73 6f 63 69 61 74 65 64 20 77 69 74  s associated wit
08d0: 68 20 6f 6e 6c 79 20 6f 6e 65 20 72 65 70 6f 73  h only one repos
08e0: 69 74 6f 72 79 2e 3c 2f 70 3e 0a 0a 3c 70 3e 46  itory.</p>..<p>F
08f0: 6f 73 73 69 6c 20 73 6f 75 72 63 65 20 74 72 65  ossil source tre
0900: 65 20 6d 61 79 20 6e 6f 74 20 6f 76 65 72 6c 61  e may not overla
0910: 70 2e 20 20 41 20 66 6f 73 73 69 6c 20 73 6f 75  p.  A fossil sou
0920: 72 63 65 20 74 72 65 65 20 69 73 20 69 64 65 6e  rce tree is iden
0930: 74 69 66 69 65 64 0a 62 79 20 61 20 66 69 6c 65  tified.by a file
0940: 20 6e 61 6d 65 64 20 22 5f 46 4f 53 53 49 4c 5f   named "_FOSSIL_
0950: 22 20 69 6e 20 74 68 65 20 72 6f 6f 74 20 64 69  " in the root di
0960: 72 65 63 74 6f 72 79 20 6f 66 20 74 68 65 20 73  rectory of the s
0970: 6f 75 72 63 65 20 74 72 65 65 2e 20 20 45 76 65  ource tree.  Eve
0980: 72 79 0a 66 69 6c 65 20 74 68 61 74 20 69 73 20  ry.file that is 
0990: 61 20 73 69 62 6c 69 6e 67 20 6f 66 20 5f 46 4f  a sibling of _FO
09a0: 53 53 49 4c 5f 20 61 6e 64 20 65 76 65 72 79 20  SSIL_ and every 
09b0: 66 69 6c 65 20 69 6e 20 65 76 65 72 79 20 73 75  file in every su
09c0: 62 66 6f 6c 64 65 72 20 69 73 0a 63 6f 6e 73 69  bfolder is.consi
09d0: 64 65 72 65 64 20 70 6f 74 65 6e 74 69 61 6c 6c  dered potentiall
09e0: 79 20 61 20 70 61 72 74 20 6f 66 20 74 68 65 20  y a part of the 
09f0: 73 6f 75 72 63 65 20 74 72 65 65 2e 20 20 54 68  source tree.  Th
0a00: 65 20 5f 46 4f 53 53 49 4c 5f 20 66 69 6c 65 0a  e _FOSSIL_ file.
0a10: 63 6f 6e 74 61 69 6e 73 20 28 61 6d 6f 6e 67 20  contains (among 
0a20: 6f 74 68 65 72 20 74 68 69 6e 67 73 29 20 74 68  other things) th
0a30: 65 20 70 61 74 68 6e 61 6d 65 20 6f 66 20 74 68  e pathname of th
0a40: 65 20 72 65 70 6f 73 69 74 6f 72 79 20 77 69 74  e repository wit
0a50: 68 20 77 68 69 63 68 0a 74 68 65 20 73 6f 75 72  h which.the sour
0a60: 63 65 20 74 72 65 65 20 69 73 20 61 73 73 6f 63  ce tree is assoc
0a70: 69 61 74 65 64 2e 20 20 4f 6e 20 74 68 65 20 6f  iated.  On the o
0a80: 74 68 65 72 20 68 61 6e 64 2c 20 74 68 65 20 72  ther hand, the r
0a90: 65 70 6f 73 69 74 6f 72 79 20 68 61 73 0a 6e 6f  epository has.no
0aa0: 20 72 65 63 6f 72 64 20 6f 66 20 69 74 73 20 73   record of its s
0ab0: 6f 75 72 63 65 20 74 72 65 65 73 2e 20 20 53 6f  ource trees.  So
0ac0: 20 79 6f 75 20 61 72 65 20 66 72 65 65 20 74 6f   you are free to
0ad0: 20 64 65 6c 65 74 65 20 61 20 73 6f 75 72 63 65   delete a source
0ae0: 20 74 72 65 65 0a 6f 72 20 6d 6f 76 65 20 69 74   tree.or move it
0af0: 20 61 72 6f 75 6e 64 20 77 69 74 68 6f 75 74 20   around without 
0b00: 63 6f 6e 73 65 71 75 65 6e 63 65 2e 20 20 42 75  consequence.  Bu
0b10: 74 20 69 66 20 79 6f 75 20 6d 6f 76 65 20 6f 72  t if you move or
0b20: 20 72 65 6e 61 6d 65 20 6f 72 0a 64 65 6c 65 74   rename or.delet
0b30: 65 20 61 20 72 65 70 6f 73 69 74 6f 72 79 2c 20  e a repository, 
0b40: 74 68 65 6e 20 61 6e 79 20 73 6f 75 72 63 65 20  then any source 
0b50: 74 72 65 65 73 20 61 73 73 6f 63 69 61 74 65 64  trees associated
0b60: 20 77 69 74 68 20 74 68 61 74 20 72 65 70 6f 73   with that repos
0b70: 69 74 6f 72 79 0a 77 69 6c 6c 20 6e 6f 20 6c 6f  itory.will no lo
0b80: 6e 67 65 72 20 62 65 20 61 62 6c 65 20 74 6f 20  nger be able to 
0b90: 6c 6f 63 61 74 65 20 74 68 65 69 72 20 72 65 70  locate their rep
0ba0: 6f 73 69 74 6f 72 79 20 61 6e 64 20 77 69 6c 6c  ository and will
0bb0: 20 73 74 6f 70 20 77 6f 72 6b 69 6e 67 2e 3c 2f   stop working.</
0bc0: 70 3e 0a 0a 3c 70 3e 57 68 65 6e 20 6d 75 6c 74  p>..<p>When mult
0bd0: 69 70 6c 65 20 64 65 76 65 6c 6f 70 65 72 73 20  iple developers 
0be0: 61 72 65 20 77 6f 72 6b 69 6e 67 20 6f 6e 20 74  are working on t
0bf0: 68 65 20 73 61 6d 65 20 70 72 6f 6a 65 63 74 2c  he same project,
0c00: 20 65 61 63 68 0a 64 65 76 65 6c 6f 70 65 72 20   each.developer 
0c10: 74 79 70 69 63 61 6c 6c 79 20 68 61 73 20 68 69  typically has hi
0c20: 73 20 6f 72 20 68 65 72 20 6f 77 6e 20 6c 6f 63  s or her own loc
0c30: 61 6c 20 72 65 70 6f 73 69 74 6f 72 79 20 61 6e  al repository an
0c40: 64 20 61 6e 20 61 73 73 6f 63 69 61 74 65 64 0a  d an associated.
0c50: 73 6f 75 72 63 65 20 74 72 65 65 20 69 6e 20 77  source tree in w
0c60: 68 69 63 68 20 74 6f 20 77 6f 72 6b 2e 20 20 44  hich to work.  D
0c70: 65 76 65 6c 6f 70 65 72 73 20 73 68 61 72 65 20  evelopers share 
0c80: 74 68 65 69 72 20 77 6f 72 6b 20 62 79 0a 22 73  their work by."s
0c90: 79 6e 63 69 6e 67 22 20 74 68 65 20 63 6f 6e 74  yncing" the cont
0ca0: 65 6e 74 20 6f 66 20 74 68 65 69 72 20 6c 6f 63  ent of their loc
0cb0: 61 6c 20 72 65 70 6f 73 69 74 6f 72 69 65 73 20  al repositories 
0cc0: 65 69 74 68 65 72 20 64 69 72 65 63 74 6c 79 0a  either directly.
0cd0: 6f 72 20 74 68 72 6f 75 67 68 20 61 20 63 65 6e  or through a cen
0ce0: 74 72 61 6c 20 73 65 72 76 65 72 2e 20 20 43 68  tral server.  Ch
0cf0: 61 6e 67 65 73 20 63 61 6e 20 22 70 75 73 68 22  anges can "push"
0d00: 20 66 72 6f 6d 20 74 68 65 20 6c 6f 63 61 6c 0a   from the local.
0d10: 72 65 70 6f 73 69 74 6f 72 79 20 69 6e 74 6f 20  repository into 
0d20: 61 20 72 65 6d 6f 74 65 20 72 65 70 6f 73 69 74  a remote reposit
0d30: 6f 72 79 2e 20 20 4f 72 20 63 68 61 6e 67 65 73  ory.  Or changes
0d40: 20 63 61 6e 20 22 70 75 6c 6c 22 20 66 72 6f 6d   can "pull" from
0d50: 20 61 0a 72 65 6d 6f 74 65 20 72 65 70 6f 73 69   a.remote reposi
0d60: 74 6f 72 79 20 69 6e 74 6f 20 61 20 6c 6f 63 61  tory into a loca
0d70: 6c 20 72 65 70 6f 73 69 74 6f 72 79 2e 20 20 4f  l repository.  O
0d80: 72 20 6f 6e 65 20 63 61 6e 20 64 6f 20 61 20 22  r one can do a "
0d90: 73 79 6e 63 22 0a 77 68 69 63 68 20 69 73 20 73  sync".which is s
0da0: 68 6f 72 74 63 75 74 20 66 6f 72 20 64 6f 69 6e  hortcut for doin
0db0: 67 20 62 6f 74 68 20 61 20 70 75 73 68 20 61 6e  g both a push an
0dc0: 64 20 61 20 70 75 6c 6c 20 61 74 20 74 68 65 20  d a pull at the 
0dd0: 73 61 6d 65 20 74 69 6d 65 2e 0a 46 6f 73 73 69  same time..Fossi
0de0: 6c 20 61 6c 73 6f 20 68 61 73 20 74 68 65 20 63  l also has the c
0df0: 6f 6e 63 65 70 74 20 6f 66 20 22 63 6c 6f 6e 69  oncept of "cloni
0e00: 6e 67 22 2e 20 20 41 20 22 63 6c 6f 6e 65 22 20  ng".  A "clone" 
0e10: 69 73 20 6c 69 6b 65 20 61 20 22 70 75 6c 6c 22  is like a "pull"
0e20: 0a 65 78 63 65 70 74 20 74 68 61 74 20 69 6e 73  .except that ins
0e30: 74 65 61 64 20 6f 66 20 62 65 67 69 6e 6e 69 6e  tead of beginnin
0e40: 67 20 77 69 74 68 20 61 6e 20 65 78 69 73 74 69  g with an existi
0e50: 6e 67 20 6c 6f 63 61 6c 20 72 65 70 6f 73 69 74  ng local reposit
0e60: 6f 72 79 2c 0a 61 20 63 6c 6f 6e 65 20 62 65 67  ory,.a clone beg
0e70: 69 6e 73 20 77 69 74 68 20 6e 6f 74 68 69 6e 67  ins with nothing
0e80: 20 61 6e 64 20 63 72 65 61 74 65 73 20 61 20 6e   and creates a n
0e90: 65 77 20 6c 6f 63 61 6c 20 72 65 70 6f 73 69 74  ew local reposit
0ea0: 6f 72 79 20 74 68 61 74 0a 69 73 20 61 20 72 65  ory that.is a re
0eb0: 70 6c 69 63 61 74 65 20 6f 66 20 61 20 72 65 6d  plicate of a rem
0ec0: 6f 74 65 20 72 65 70 6f 73 69 74 6f 72 79 2e 3c  ote repository.<
0ed0: 2f 70 3e 0a 0a 3c 70 3e 43 6f 6d 6d 75 6e 69 63  /p>..<p>Communic
0ee0: 61 74 69 6f 6e 20 62 65 74 77 65 65 6e 20 72 65  ation between re
0ef0: 70 6f 73 69 74 6f 72 69 65 73 20 69 73 20 76 69  positories is vi
0f00: 61 20 48 54 54 50 2e 20 20 52 65 6d 6f 74 65 0a  a HTTP.  Remote.
0f10: 72 65 70 6f 73 69 74 6f 72 69 65 73 20 61 72 65  repositories are
0f20: 20 69 64 65 6e 74 69 66 69 65 64 20 62 79 20 55   identified by U
0f30: 52 4c 2e 20 20 59 6f 75 20 63 61 6e 20 61 6c 73  RL.  You can als
0f40: 6f 20 70 6f 69 6e 74 20 61 20 77 65 62 62 72 6f  o point a webbro
0f50: 77 73 65 72 0a 61 74 20 61 20 72 65 70 6f 73 69  wser.at a reposi
0f60: 74 6f 72 79 20 61 6e 64 20 67 65 74 20 68 75 6d  tory and get hum
0f70: 61 6e 2d 72 65 61 64 61 62 6c 65 20 73 74 61 74  an-readable stat
0f80: 75 73 2c 20 68 69 73 74 6f 72 79 2c 20 61 6e 64  us, history, and
0f90: 20 74 72 61 63 6b 69 6e 67 0a 69 6e 66 6f 72 6d   tracking.inform
0fa0: 61 74 69 6f 6e 20 61 62 6f 75 74 20 74 68 65 20  ation about the 
0fb0: 70 72 6f 6a 65 63 74 2e 3c 2f 70 3e 0a 0a 3c 68  project.</p>..<h
0fc0: 33 3e 32 2e 31 20 49 64 65 6e 74 69 66 69 63 61  3>2.1 Identifica
0fd0: 74 69 6f 6e 20 4f 66 20 41 72 74 69 66 61 63 74  tion Of Artifact
0fe0: 73 3c 2f 68 33 3e 0a 0a 3c 70 3e 41 20 70 61 72  s</h3>..<p>A par
0ff0: 74 69 63 75 6c 61 72 20 76 65 72 73 69 6f 6e 20  ticular version 
1000: 6f 66 20 61 20 70 61 72 74 69 63 75 6c 61 72 20  of a particular 
1010: 66 69 6c 65 20 69 73 20 63 61 6c 6c 65 64 20 61  file is called a
1020: 6e 20 22 61 72 74 69 66 61 63 74 22 2e 0a 45 61  n "artifact"..Ea
1030: 63 68 20 61 72 74 69 66 61 63 74 20 68 61 73 20  ch artifact has 
1040: 61 20 75 6e 69 76 65 72 73 61 6c 6c 79 20 75 6e  a universally un
1050: 69 71 75 65 20 6e 61 6d 65 20 77 68 69 63 68 20  ique name which 
1060: 69 73 20 74 68 65 0a 3c 61 20 68 72 65 66 3d 22  is the.<a href="
1070: 68 74 74 70 3a 2f 2f 65 6e 2e 77 69 6b 69 70 65  http://en.wikipe
1080: 64 69 61 2e 6f 72 67 2f 77 69 6b 69 2f 53 48 41  dia.org/wiki/SHA
1090: 22 3e 53 48 41 31 3c 2f 61 3e 20 68 61 73 68 20  ">SHA1</a> hash 
10a0: 6f 66 20 74 68 65 20 63 6f 6e 74 65 6e 74 0a 6f  of the content.o
10b0: 66 20 74 68 61 74 20 66 69 6c 65 20 65 78 70 72  f that file expr
10c0: 65 73 73 65 64 20 61 73 20 34 30 20 63 68 61 72  essed as 40 char
10d0: 61 63 74 65 72 73 20 6f 66 20 6c 6f 77 65 72 2d  acters of lower-
10e0: 63 61 73 65 20 68 65 78 61 64 65 63 69 6d 61 6c  case hexadecimal
10f0: 2e 20 20 53 75 63 68 0a 73 75 63 68 20 68 61 73  .  Such.such has
1100: 20 69 73 20 72 65 66 65 72 72 65 64 20 74 6f 20   is referred to 
1110: 61 73 20 74 68 65 20 55 6e 69 76 65 72 73 61 6c  as the Universal
1120: 6c 79 20 55 6e 69 71 75 65 20 49 64 65 6e 74 69  ly Unique Identi
1130: 66 69 65 72 20 6f 72 20 55 55 49 44 0a 66 6f 72  fier or UUID.for
1140: 20 74 68 65 20 61 72 74 69 66 61 63 74 2e 20 20   the artifact.  
1150: 54 68 65 20 53 48 41 31 20 61 6c 67 6f 72 69 74  The SHA1 algorit
1160: 68 6d 20 69 73 20 63 72 65 61 74 65 64 20 77 69  hm is created wi
1170: 74 68 20 74 68 65 20 70 75 72 70 6f 73 65 20 6f  th the purpose o
1180: 66 0a 70 72 6f 76 69 64 65 20 61 20 68 69 67 68  f.provide a high
1190: 6c 79 20 66 6f 72 67 65 72 79 2d 72 65 73 69 73  ly forgery-resis
11a0: 74 65 6e 74 20 69 64 65 6e 74 69 66 69 65 72 20  tent identifier 
11b0: 66 6f 72 20 61 20 66 69 6c 65 2e 20 20 47 69 76  for a file.  Giv
11c0: 65 6e 20 61 6e 79 0a 66 69 6c 65 20 69 74 20 69  en any.file it i
11d0: 73 20 73 69 6d 70 6c 65 20 74 6f 20 66 69 6e 64  s simple to find
11e0: 20 74 68 65 20 55 55 49 44 20 66 6f 72 20 74 68   the UUID for th
11f0: 61 74 20 66 69 6c 65 2e 20 20 42 75 74 20 67 69  at file.  But gi
1200: 76 65 6e 20 61 0a 55 55 49 44 20 69 74 20 69 73  ven a.UUID it is
1210: 20 63 6f 6d 70 75 74 61 74 69 6f 6e 61 6c 6c 79   computationally
1220: 20 69 6e 74 72 61 63 74 61 62 6c 65 20 74 6f 20   intractable to 
1230: 67 65 6e 65 72 61 74 65 20 61 20 66 69 6c 65 20  generate a file 
1240: 74 68 61 74 20 77 69 6c 6c 0a 67 65 6e 65 72 61  that will.genera
1250: 74 65 20 74 68 61 74 20 55 55 49 44 2e 3c 2f 70  te that UUID.</p
1260: 3e 0a 0a 0a 3c 70 3e 55 55 49 44 73 20 6c 6f 6f  >...<p>UUIDs loo
1270: 6b 20 73 6f 6d 65 74 68 69 6e 67 20 6c 69 6b 65  k something like
1280: 20 74 68 69 73 3a 3c 2f 70 3e 0a 0a 3c 62 6c 6f   this:</p>..<blo
1290: 63 6b 71 75 6f 74 65 3e 3c 62 3e 0a 36 30 38 39  ckquote><b>.6089
12a0: 66 30 62 35 36 33 61 39 64 62 30 61 36 64 39 30  f0b563a9db0a6d90
12b0: 36 38 32 66 65 34 37 66 64 37 31 36 31 66 66 38  682fe47fd7161ff8
12c0: 36 37 63 38 3c 62 72 3e 0a 35 39 37 31 32 36 31  67c8<br>.5971261
12d0: 34 61 31 62 33 63 63 66 64 38 34 30 37 38 61 33  4a1b3ccfd84078a3
12e0: 37 66 61 35 62 36 30 36 65 32 38 34 33 34 33 32  7fa5b606e2843432
12f0: 36 3c 62 72 3e 0a 31 39 64 62 66 37 33 30 37 38  6<br>.19dbf73078
1300: 62 65 39 37 37 39 65 64 64 36 61 30 31 35 36 31  be9779edd6a01561
1310: 39 35 65 36 31 30 66 38 31 63 39 34 66 39 3c 62  95e610f81c94f9<b
1320: 72 3e 0a 62 34 31 30 34 39 35 39 61 36 37 31 37  r>.b4104959a6717
1330: 35 66 30 32 64 36 62 34 31 35 34 38 30 62 65 32  5f02d6b415480be2
1340: 32 61 32 33 39 66 31 66 30 37 37 3c 62 72 3e 0a  2a239f1f077<br>.
1350: 39 39 37 63 39 64 36 61 65 30 33 61 64 31 31 34  997c9d6ae03ad114
1360: 62 32 62 35 37 66 30 34 65 39 65 65 65 66 31 37  b2b57f04e9eeef17
1370: 64 63 62 38 32 37 38 38 0a 3c 2f 62 3e 3c 2f 62  dcb82788.</b></b
1380: 6c 6f 63 6b 71 75 6f 74 65 3e 0a 0a 3c 70 3e 57  lockquote>..<p>W
1390: 68 65 6e 20 72 65 66 65 72 72 69 6e 67 20 74 6f  hen referring to
13a0: 20 61 6e 20 61 72 74 69 66 61 63 74 20 75 73 69   an artifact usi
13b0: 6e 67 20 66 6f 73 73 69 6c 2c 20 79 6f 75 20 63  ng fossil, you c
13c0: 61 6e 20 75 73 65 20 61 20 75 6e 69 71 75 65 0a  an use a unique.
13d0: 70 72 65 66 69 78 20 6f 66 20 74 68 65 20 55 55  prefix of the UU
13e0: 49 44 20 74 68 61 74 20 69 73 20 66 6f 75 72 20  ID that is four 
13f0: 63 68 61 72 61 63 74 65 72 73 20 6f 72 20 6c 6f  characters or lo
1400: 6e 67 65 72 2e 20 20 54 68 69 73 20 73 61 76 65  nger.  This save
1410: 73 0a 61 20 6c 6f 74 20 6f 66 20 74 79 70 69 6e  s.a lot of typin
1420: 67 2e 20 20 57 68 65 6e 20 64 69 73 70 6c 61 79  g.  When display
1430: 69 6e 67 20 55 55 49 44 73 2c 20 66 6f 73 73 69  ing UUIDs, fossi
1440: 6c 20 77 69 6c 6c 20 75 73 75 61 6c 6c 79 20 6f  l will usually o
1450: 6e 6c 79 0a 73 68 6f 77 20 74 68 65 20 66 69 72  nly.show the fir
1460: 73 74 20 31 30 20 64 69 67 69 74 73 20 73 69 6e  st 10 digits sin
1470: 63 65 20 74 68 61 74 20 69 73 20 6e 6f 72 6d 61  ce that is norma
1480: 6c 6c 79 20 65 6e 6f 75 67 68 20 74 6f 20 75 6e  lly enough to un
1490: 69 71 75 65 6c 79 0a 69 64 65 6e 74 69 66 79 20  iquely.identify 
14a0: 61 20 66 69 6c 65 2e 3c 2f 70 3e 0a 0a 3c 70 3e  a file.</p>..<p>
14b0: 43 68 61 6e 67 69 6e 67 20 28 6f 72 20 61 64 64  Changing (or add
14c0: 69 6e 67 20 6f 72 20 72 65 6d 6f 76 69 6e 67 29  ing or removing)
14d0: 20 61 20 73 69 6e 67 6c 65 20 62 79 74 65 20 69   a single byte i
14e0: 6e 20 61 20 66 69 6c 65 20 72 65 73 75 6c 74 73  n a file results
14f0: 0a 69 6e 20 61 20 63 6f 6d 70 6c 65 74 65 6c 79  .in a completely
1500: 20 64 69 66 66 65 72 65 6e 74 20 55 55 49 44 2e   different UUID.
1510: 20 20 41 6e 64 20 73 69 6e 63 65 20 74 68 65 20    And since the 
1520: 55 55 49 44 20 69 73 20 74 68 65 20 6e 61 6d 65  UUID is the name
1530: 20 6f 66 0a 74 68 65 20 61 72 74 69 66 61 63 74   of.the artifact
1540: 2c 20 6d 61 6b 69 6e 67 20 61 6e 79 20 63 68 61  , making any cha
1550: 6e 67 65 20 74 6f 20 61 20 66 69 6c 65 20 72 65  nge to a file re
1560: 73 75 6c 74 73 20 69 6e 20 61 20 6e 65 77 20 61  sults in a new a
1570: 72 74 69 66 61 63 74 2e 0a 49 6e 20 74 68 69 73  rtifact..In this
1580: 20 77 61 79 2c 20 61 72 74 69 66 61 63 74 73 20   way, artifacts 
1590: 61 72 65 20 69 6d 6d 75 74 61 62 6c 65 2e 3c 2f  are immutable.</
15a0: 70 3e 0a 0a 3c 70 3e 41 20 72 65 70 6f 73 69 74  p>..<p>A reposit
15b0: 6f 72 79 20 69 73 20 72 65 61 6c 6c 79 20 6a 75  ory is really ju
15c0: 73 74 20 61 6e 20 75 6e 6f 72 64 65 72 65 64 20  st an unordered 
15d0: 63 6f 6c 6c 65 63 74 69 6f 6e 20 6f 66 0a 61 72  collection of.ar
15e0: 74 69 66 61 63 74 73 2e 20 20 4e 65 77 20 61 72  tifacts.  New ar
15f0: 74 69 66 61 63 74 73 20 63 61 6e 20 62 65 20 61  tifacts can be a
1600: 64 64 65 64 20 74 6f 20 74 68 65 20 72 65 70 6f  dded to the repo
1610: 73 69 74 6f 72 79 2c 20 62 75 74 0a 65 78 69 73  sitory, but.exis
1620: 74 69 6e 67 20 61 72 74 69 66 61 63 74 73 20 63  ting artifacts c
1630: 61 6e 20 6e 65 76 65 72 20 62 65 20 72 65 6d 6f  an never be remo
1640: 76 65 64 2e 20 20 46 6f 73 73 69 6c 20 69 73 20  ved.  Fossil is 
1650: 64 65 73 69 67 6e 65 64 20 69 6e 0a 73 75 63 68  designed in.such
1660: 20 61 20 77 61 79 20 74 68 61 74 20 69 74 20 63   a way that it c
1670: 61 6e 20 62 65 20 68 61 6e 64 65 64 20 61 20 73  an be handed a s
1680: 65 74 20 6f 66 20 61 72 74 69 66 61 63 74 73 20  et of artifacts 
1690: 69 6e 20 61 6e 79 0a 6f 72 64 65 72 20 61 6e 64  in any.order and
16a0: 20 69 74 20 63 61 6e 20 66 69 67 75 72 65 20 6f   it can figure o
16b0: 75 74 20 74 68 65 20 72 65 6c 61 74 69 6f 6e 73  ut the relations
16c0: 68 69 70 20 62 65 74 77 65 65 6e 20 74 68 6f 73  hip between thos
16d0: 65 0a 61 72 74 69 66 61 63 74 73 20 61 6e 64 20  e.artifacts and 
16e0: 72 65 63 6f 6e 73 74 72 75 63 74 20 74 68 65 20  reconstruct the 
16f0: 63 6f 6d 70 6c 65 74 65 20 64 65 76 65 6c 6f 70  complete develop
1700: 6d 65 6e 74 20 68 69 73 74 6f 72 79 20 6f 66 0a  ment history of.
1710: 61 20 73 6f 66 74 77 61 72 65 20 70 72 6f 6a 65  a software proje
1720: 63 74 2e 3c 2f 70 3e 0a 0a 3c 68 33 3e 32 2e 32  ct.</p>..<h3>2.2
1730: 20 4d 61 6e 69 66 65 73 74 73 3c 2f 68 33 3e 0a   Manifests</h3>.
1740: 0a 3c 70 3e 41 74 20 74 68 65 20 72 6f 6f 74 20  .<p>At the root 
1750: 6f 66 20 61 20 73 6f 75 72 63 65 20 74 72 65 65  of a source tree
1760: 20 69 73 20 61 20 73 70 65 63 69 61 6c 20 66 69   is a special fi
1770: 6c 65 20 63 61 6c 6c 65 64 20 74 68 65 0a 22 6d  le called the."m
1780: 61 6e 69 66 65 73 74 22 2e 20 20 54 68 65 20 6d  anifest".  The m
1790: 61 6e 69 66 65 73 74 20 69 73 20 61 20 6c 69 73  anifest is a lis
17a0: 74 69 6e 67 20 6f 66 20 61 6c 6c 20 6f 74 68 65  ting of all othe
17b0: 72 20 66 69 6c 65 73 20 69 6e 0a 74 68 61 74 20  r files in.that 
17c0: 73 6f 75 72 63 65 20 74 72 65 65 2e 20 20 54 68  source tree.  Th
17d0: 65 20 6d 61 6e 69 66 65 73 74 20 63 6f 6e 74 61  e manifest conta
17e0: 69 6e 73 20 74 68 65 20 28 63 6f 6d 70 6c 65 74  ins the (complet
17f0: 65 29 20 55 55 49 44 20 0a 6f 66 20 74 68 65 20  e) UUID .of the 
1800: 66 69 6c 65 20 61 6e 64 20 74 68 65 20 6e 61 6d  file and the nam
1810: 65 20 6f 66 20 74 68 65 20 66 69 6c 65 20 61 73  e of the file as
1820: 20 69 74 20 61 70 70 65 61 72 73 20 6f 6e 20 64   it appears on d
1830: 69 73 6b 2c 0a 61 6e 64 20 74 68 75 73 20 73 65  isk,.and thus se
1840: 72 76 65 73 20 61 73 20 61 20 6d 61 70 70 69 6e  rves as a mappin
1850: 67 20 66 72 6f 6d 20 55 55 49 44 20 74 6f 20 64  g from UUID to d
1860: 69 73 6b 20 6e 61 6d 65 2e 20 20 54 68 65 20 55  isk name.  The U
1870: 55 49 44 0a 6f 66 20 74 68 65 20 6d 61 6e 69 66  UID.of the manif
1880: 65 73 74 20 69 73 20 74 68 65 20 55 55 49 44 20  est is the UUID 
1890: 74 68 61 74 20 69 64 65 6e 74 69 66 69 65 73 20  that identifies 
18a0: 61 20 62 61 73 65 6c 69 6e 65 2e 20 20 57 68 65  a baseline.  Whe
18b0: 6e 0a 79 6f 75 20 6c 6f 6f 6b 20 61 74 20 61 20  n.you look at a 
18c0: 22 74 69 6d 65 6c 69 6e 65 22 20 6f 66 20 63 68  "timeline" of ch
18d0: 61 6e 67 65 73 20 69 6e 20 66 6f 73 73 69 6c 2c  anges in fossil,
18e0: 20 74 68 65 20 55 55 49 44 20 61 73 73 6f 63 69   the UUID associ
18f0: 61 74 65 64 0a 77 69 74 68 20 65 61 63 68 20 63  ated.with each c
1900: 68 65 63 6b 2d 69 6e 20 6f 72 20 63 6f 6d 6d 69  heck-in or commi
1910: 74 20 69 73 20 72 65 61 6c 6c 79 20 6a 75 73 74  t is really just
1920: 20 74 68 65 20 55 55 49 44 20 6f 66 20 74 68 65   the UUID of the
1930: 0a 6d 61 6e 69 66 65 73 74 20 66 6f 72 20 74 68  .manifest for th
1940: 61 74 20 62 61 73 65 6c 69 6e 65 2e 3c 2f 70 3e  at baseline.</p>
1950: 0a 0a 3c 70 3e 46 6f 73 73 69 6c 20 61 75 74 6f  ..<p>Fossil auto
1960: 6d 61 74 69 63 61 6c 6c 79 20 67 65 6e 65 72 61  matically genera
1970: 74 65 73 20 61 20 6d 61 6e 69 66 65 73 74 20 77  tes a manifest w
1980: 68 65 6e 65 76 65 72 20 79 6f 75 20 22 63 6f 6d  henever you "com
1990: 6d 69 74 22 20 0a 61 20 6e 65 77 20 62 61 73 65  mit" .a new base
19a0: 6c 69 6e 65 2e 20 20 53 6f 20 74 68 69 73 20 69  line.  So this i
19b0: 73 20 6e 6f 74 20 73 6f 6d 65 74 68 69 6e 67 20  s not something 
19c0: 74 68 61 74 20 79 6f 75 2c 20 74 68 65 20 64 65  that you, the de
19d0: 76 65 6c 6f 70 65 72 2c 0a 6e 65 65 64 20 74 6f  veloper,.need to
19e0: 20 77 6f 72 72 79 20 77 69 74 68 2e 20 20 54 68   worry with.  Th
19f0: 65 20 66 6f 72 6d 61 74 20 6f 66 20 61 20 6d 61  e format of a ma
1a00: 6e 69 66 65 73 74 20 69 73 20 69 6e 74 65 6e 74  nifest is intent
1a10: 69 61 6c 6c 79 0a 64 65 73 69 67 6e 65 64 20 74  ially.designed t
1a20: 6f 20 62 65 20 73 69 6d 70 6c 65 20 74 6f 20 70  o be simple to p
1a30: 61 72 73 65 2c 20 68 6f 77 65 76 65 72 2c 20 73  arse, however, s
1a40: 6f 20 74 68 61 74 20 69 66 0a 79 6f 75 20 77 61  o that if.you wa
1a50: 6e 74 20 74 6f 20 72 65 61 64 20 61 6e 64 20 69  nt to read and i
1a60: 6e 74 65 72 70 72 65 74 20 61 20 6d 61 6e 69 66  nterpret a manif
1a70: 65 73 74 2c 20 65 69 74 68 65 72 20 62 79 20 68  est, either by h
1a80: 61 6e 64 20 6f 72 0a 77 69 74 68 20 61 20 73 63  and or.with a sc
1a90: 72 69 70 74 2c 20 74 68 61 74 20 69 73 20 65 61  ript, that is ea
1aa0: 73 79 20 74 6f 20 64 6f 2e 3c 2f 70 3e 0a 0a 3c  sy to do.</p>..<
1ab0: 70 3e 49 6e 20 61 64 64 69 74 69 6f 6e 20 74 6f  p>In addition to
1ac0: 20 69 64 65 6e 74 69 66 79 69 6e 67 20 61 6c 6c   identifying all
1ad0: 20 66 69 6c 65 73 20 69 6e 20 74 68 65 20 62 61   files in the ba
1ae0: 73 65 6c 69 6e 65 2c 20 61 0a 6d 61 6e 69 66 65  seline, a.manife
1af0: 73 74 20 61 6c 73 6f 20 63 6f 6e 74 61 69 6e 73  st also contains
1b00: 20 61 20 63 68 65 63 6b 2d 69 6e 20 63 6f 6d 6d   a check-in comm
1b10: 65 6e 74 2c 20 74 68 65 20 64 61 74 65 20 61 6e  ent, the date an
1b20: 64 20 74 69 6d 65 0a 77 68 65 6e 20 74 68 65 20  d time.when the 
1b30: 62 61 73 65 6c 69 6e 65 20 77 61 73 20 65 73 74  baseline was est
1b40: 61 62 6c 69 73 68 65 64 2c 20 77 68 6f 20 63 72  ablished, who cr
1b50: 65 61 74 65 64 20 74 68 65 20 62 61 73 65 6c 69  eated the baseli
1b60: 6e 65 2c 0a 61 6e 64 20 6c 69 6e 6b 73 20 74 6f  ne,.and links to
1b70: 20 6f 74 68 65 72 20 62 61 73 65 6c 69 6e 65 73   other baselines
1b80: 20 66 72 6f 6d 20 77 68 69 63 68 20 74 68 65 20   from which the 
1b90: 63 75 72 72 65 6e 74 20 62 61 73 65 6c 69 6e 65  current baseline
1ba0: 0a 69 73 20 64 65 72 69 76 65 64 2e 20 20 54 68  .is derived.  Th
1bb0: 65 72 65 20 69 73 20 61 6c 73 6f 20 61 20 63 6f  ere is also a co
1bc0: 75 70 6c 65 20 6f 66 20 63 68 65 63 6b 73 75 6d  uple of checksum
1bd0: 73 20 75 73 65 64 20 74 6f 20 76 65 72 69 66 79  s used to verify
1be0: 0a 74 68 65 20 69 6e 74 65 67 72 69 74 79 20 6f  .the integrity o
1bf0: 66 20 74 68 65 20 62 61 73 65 6c 69 6e 65 2e 20  f the baseline. 
1c00: 20 41 6e 64 20 74 68 65 20 77 68 6f 6c 65 20 6d   And the whole m
1c10: 61 6e 69 66 65 73 74 20 6d 69 67 68 74 0a 62 65  anifest might.be
1c20: 20 50 47 50 20 63 6c 65 61 72 73 69 67 6e 65 64   PGP clearsigned
1c30: 2e 3c 2f 70 3e 0a 0a 3c 68 33 3e 32 2e 33 20 4b  .</p>..<h3>2.3 K
1c40: 65 79 20 63 6f 6e 63 65 70 74 73 3c 2f 68 33 3e  ey concepts</h3>
1c50: 0a 0a 3c 75 6c 3e 0a 3c 6c 69 3e 41 20 3c 62 3e  ..<ul>.<li>A <b>
1c60: 62 61 73 65 6c 69 6e 65 3c 2f 62 3e 20 6f 72 20  baseline</b> or 
1c70: 3c 62 3e 76 65 72 73 69 6f 6e 3c 2f 62 3e 20 69  <b>version</b> i
1c80: 73 20 61 20 73 65 74 20 6f 66 20 66 69 6c 65 73  s a set of files
1c90: 20 61 72 72 61 6e 67 65 64 0a 20 20 20 20 69 6e   arranged.    in
1ca0: 20 61 20 68 69 65 72 61 72 63 68 79 2e 3c 2f 6c   a hierarchy.</l
1cb0: 69 3e 0a 3c 6c 69 3e 41 20 3c 62 3e 72 65 70 6f  i>.<li>A <b>repo
1cc0: 73 69 74 6f 72 79 3c 2f 62 3e 20 6b 65 65 70 73  sitory</b> keeps
1cd0: 20 61 20 72 65 63 6f 72 64 20 6f 66 20 68 69 73   a record of his
1ce0: 74 6f 72 69 63 61 6c 20 62 61 73 65 6c 69 6e 65  torical baseline
1cf0: 73 2e 3c 2f 6c 69 3e 0a 3c 6c 69 3e 52 65 70 6f  s.</li>.<li>Repo
1d00: 73 69 74 6f 72 69 65 73 20 73 68 61 72 65 20 74  sitories share t
1d10: 68 65 69 72 20 63 68 61 6e 67 65 73 20 75 73 69  heir changes usi
1d20: 6e 67 20 3c 62 3e 70 75 73 68 3c 2f 62 3e 2c 20  ng <b>push</b>, 
1d30: 3c 62 3e 70 75 6c 6c 3c 2f 62 3e 2c 0a 20 20 20  <b>pull</b>,.   
1d40: 20 3c 62 3e 73 79 6e 63 3c 2f 62 3e 2c 20 61 6e   <b>sync</b>, an
1d50: 64 20 3c 62 3e 63 6c 6f 6e 65 3c 2f 62 3e 2e 3c  d <b>clone</b>.<
1d60: 2f 6c 69 3e 0a 3c 6c 69 3e 41 20 70 61 72 74 69  /li>.<li>A parti
1d70: 63 75 6c 61 72 20 76 65 72 73 69 6f 6e 20 6f 66  cular version of
1d80: 20 61 20 70 61 72 74 69 63 75 6c 61 72 20 66 69   a particular fi
1d90: 6c 65 20 69 73 20 61 6e 20 3c 62 3e 61 72 74 69  le is an <b>arti
1da0: 66 61 63 74 3c 2f 62 3e 0a 20 20 20 20 74 68 61  fact</b>.    tha
1db0: 74 20 69 73 20 69 64 65 6e 74 69 66 69 65 64 20  t is identified 
1dc0: 62 79 20 61 20 3c 62 3e 55 55 49 44 3c 2f 62 3e  by a <b>UUID</b>
1dd0: 2e 3c 2f 6c 69 3e 0a 3c 6c 69 3e 41 72 74 69 66  .</li>.<li>Artif
1de0: 61 63 74 73 20 74 72 61 63 6b 65 64 20 62 79 20  acts tracked by 
1df0: 66 6f 73 73 69 6c 20 61 72 65 20 69 6e 68 65 72  fossil are inher
1e00: 69 65 6e 74 6c 79 20 69 6d 6d 75 74 61 62 6c 65  iently immutable
1e10: 2e 3c 2f 6c 69 3e 0a 3c 6c 69 3e 46 6f 73 73 69  .</li>.<li>Fossi
1e20: 6c 20 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20  l automatically 
1e30: 67 65 6e 65 72 61 74 65 73 20 61 20 3c 62 3e 6d  generates a <b>m
1e40: 61 6e 69 66 65 73 74 3c 2f 62 3e 20 66 69 6c 65  anifest</b> file
1e50: 20 74 68 61 74 20 69 64 65 6e 74 69 66 69 65 73   that identifies
1e60: 0a 20 20 20 20 65 76 65 72 79 20 61 72 74 69 66  .    every artif
1e70: 61 63 74 20 69 6e 20 61 20 62 61 73 65 6c 69 6e  act in a baselin
1e80: 65 2e 3c 2f 6c 69 3e 0a 3c 6c 69 3e 54 68 65 20  e.</li>.<li>The 
1e90: 55 55 49 44 20 6f 66 20 74 68 65 20 6d 61 6e 69  UUID of the mani
1ea0: 66 65 73 74 20 69 73 20 74 68 65 20 55 55 49 44  fest is the UUID
1eb0: 20 6f 66 20 74 68 65 20 62 61 73 65 6c 69 6e 65   of the baseline
1ec0: 2e 3c 2f 6c 69 3e 0a 3c 2f 75 6c 3e 0a 0a 3c 68  .</li>.</ul>..<h
1ed0: 32 3e 33 2e 30 20 46 6f 73 73 69 6c 20 2d 20 54  2>3.0 Fossil - T
1ee0: 68 65 20 50 72 6f 67 72 61 6d 3c 2f 68 32 3e 0a  he Program</h2>.
1ef0: 0a 3c 70 3e 46 6f 73 73 69 6c 20 69 73 20 73 6f  .<p>Fossil is so
1f00: 66 74 77 61 72 65 2e 20 20 54 68 65 20 69 6d 70  ftware.  The imp
1f10: 6c 65 6d 65 6e 74 61 74 69 6f 6e 20 6f 66 20 66  lementation of f
1f20: 6f 73 73 69 6c 20 69 73 20 69 6e 20 74 68 65 20  ossil is in the 
1f30: 66 6f 72 6d 0a 6f 66 20 61 20 73 69 6e 67 6c 65  form.of a single
1f40: 20 65 78 65 63 75 74 61 62 6c 65 20 6e 61 6d 65   executable name
1f50: 20 22 66 6f 73 73 69 6c 22 2e 20 20 54 6f 20 69   "fossil".  To i
1f60: 6e 73 74 61 6c 6c 20 66 6f 73 73 69 6c 20 6f 6e  nstall fossil on
1f70: 20 79 6f 75 72 20 73 79 73 74 65 6d 2c 0a 61 6c   your system,.al
1f80: 6c 20 79 6f 75 20 68 61 76 65 20 74 6f 20 64 6f  l you have to do
1f90: 20 69 73 20 6f 62 74 61 69 6e 20 61 20 63 6f 70   is obtain a cop
1fa0: 79 20 6f 66 20 74 68 69 73 20 6f 6e 65 20 65 78  y of this one ex
1fb0: 65 63 75 74 61 62 6c 65 20 66 69 6c 65 20 28 65  ecutable file (e
1fc0: 69 74 68 65 72 0a 62 79 20 64 6f 77 6e 6c 6f 61  ither.by downloa
1fd0: 64 69 6e 67 20 61 20 70 72 65 63 6f 6d 70 69 6c  ding a precompil
1fe0: 65 64 20 76 65 72 73 69 6f 6e 20 6f 72 20 63 6f  ed version or co
1ff0: 6d 70 69 6c 69 6e 67 20 69 74 20 79 6f 75 72 73  mpiling it yours
2000: 65 6c 66 29 20 61 6e 64 20 74 68 65 6e 0a 70 75  elf) and then.pu
2010: 74 74 69 6e 67 20 74 68 61 74 20 66 69 6c 65 20  tting that file 
2020: 73 6f 6d 65 77 68 65 72 65 20 6f 6e 20 79 6f 75  somewhere on you
2030: 72 20 50 41 54 48 2e 3c 2f 70 3e 0a 0a 3c 70 3e  r PATH.</p>..<p>
2040: 46 6f 73 73 69 6c 20 69 73 20 63 6f 6d 70 6c 65  Fossil is comple
2050: 74 65 6c 79 20 73 65 6c 66 2d 63 6f 6e 74 61 69  tely self-contai
2060: 6e 65 64 2e 20 20 49 74 20 69 73 20 6e 6f 74 20  ned.  It is not 
2070: 6e 65 63 65 73 73 61 72 79 20 74 6f 0a 69 6e 73  necessary to.ins
2080: 74 61 6c 6c 20 61 6e 79 20 6f 74 68 65 72 20 73  tall any other s
2090: 6f 66 74 77 61 72 65 20 69 6e 20 6f 72 64 65 72  oftware in order
20a0: 20 74 6f 20 75 73 65 20 66 6f 73 73 69 6c 2e 20   to use fossil. 
20b0: 20 59 6f 75 20 64 6f 20 3c 75 3e 6e 6f 74 3c 2f   You do <u>not</
20c0: 75 3e 20 6e 65 65 64 0a 43 56 53 2c 20 67 7a 69  u> need.CVS, gzi
20d0: 70 2c 20 64 69 66 66 2c 20 72 73 79 6e 63 2c 20  p, diff, rsync, 
20e0: 50 79 74 68 6f 6e 2c 20 50 65 72 6c 2c 20 54 63  Python, Perl, Tc
20f0: 6c 2c 20 4a 61 76 61 2c 20 61 70 61 63 68 65 2c  l, Java, apache,
2100: 20 50 6f 73 74 67 72 65 53 51 4c 2c 20 4d 79 53   PostgreSQL, MyS
2110: 51 4c 2c 0a 53 51 4c 69 74 65 2c 20 54 63 6c 2c  QL,.SQLite, Tcl,
2120: 20 70 61 74 63 68 2c 20 6f 72 20 61 6e 79 20 73   patch, or any s
2130: 69 6d 69 6c 61 72 20 73 6f 66 74 77 61 72 65 20  imilar software 
2140: 6f 6e 20 79 6f 75 72 20 73 79 73 74 65 6d 20 69  on your system i
2150: 6e 20 6f 72 64 65 72 20 74 6f 20 75 73 65 0a 66  n order to use.f
2160: 6f 73 73 69 6c 20 65 66 66 65 63 74 69 76 65 6c  ossil effectivel
2170: 79 2e 20 20 59 6f 75 20 77 69 6c 6c 20 77 61 6e  y.  You will wan
2180: 74 20 74 6f 20 68 61 76 65 20 73 6f 6d 65 20 6b  t to have some k
2190: 69 6e 64 20 6f 66 20 74 65 78 74 20 65 64 69 74  ind of text edit
21a0: 6f 72 0a 66 6f 72 20 65 6e 74 65 72 69 6e 67 20  or.for entering 
21b0: 63 68 65 63 6b 2d 69 6e 20 63 6f 6d 6d 65 6e 74  check-in comment
21c0: 73 2e 20 20 46 6f 73 73 69 6c 20 77 69 6c 6c 20  s.  Fossil will 
21d0: 75 73 65 20 77 68 61 74 65 76 65 72 20 74 65 78  use whatever tex
21e0: 74 20 65 64 69 74 6f 72 0a 69 73 20 69 64 65 6e  t editor.is iden
21f0: 74 69 66 69 65 64 20 62 79 20 79 6f 75 72 20 56  tified by your V
2200: 49 53 55 41 4c 20 65 6e 76 69 72 6f 6e 6d 65 6e  ISUAL environmen
2210: 74 20 76 61 72 69 61 62 6c 65 2e 20 20 46 6f 73  t variable.  Fos
2220: 73 69 6c 20 77 69 6c 6c 20 61 6c 73 6f 0a 75 73  sil will also.us
2230: 65 20 47 50 47 20 74 6f 20 63 6c 65 61 72 73 69  e GPG to clearsi
2240: 67 6e 20 79 6f 75 72 20 6d 61 6e 69 66 65 73 74  gn your manifest
2250: 73 20 69 66 20 79 6f 75 20 68 61 70 70 65 6e 20  s if you happen 
2260: 74 6f 20 68 61 76 65 20 69 74 20 69 6e 73 74 61  to have it insta
2270: 6c 6c 65 64 2c 0a 62 75 74 20 66 6f 73 73 69 6c  lled,.but fossil
2280: 20 77 69 6c 6c 20 73 6b 69 70 20 74 68 61 74 20   will skip that 
2290: 73 74 65 70 20 69 66 20 79 6f 75 20 64 6f 20 6e  step if you do n
22a0: 6f 74 20 68 61 76 65 20 47 50 47 20 73 6f 20 69  ot have GPG so i
22b0: 74 20 69 73 20 6e 6f 74 0a 65 73 73 65 6e 74 69  t is not.essenti
22c0: 61 6c 2e 3c 2f 70 3e 0a 0a 3c 70 3e 54 6f 20 75  al.</p>..<p>To u
22d0: 6e 69 6e 73 74 61 6c 6c 20 66 6f 73 73 69 6c 2c  ninstall fossil,
22e0: 20 73 69 6d 70 6c 79 20 64 65 6c 65 74 65 20 74   simply delete t
22f0: 68 65 20 65 78 65 63 75 74 61 62 6c 65 2e 3c 2f  he executable.</
2300: 70 3e 0a 0a 3c 70 3e 54 6f 20 75 70 67 72 61 64  p>..<p>To upgrad
2310: 65 20 61 6e 20 6f 6c 64 65 72 20 76 65 72 73 69  e an older versi
2320: 6f 6e 20 6f 66 20 66 6f 73 73 69 6c 20 74 6f 20  on of fossil to 
2330: 61 20 6e 65 77 65 72 20 76 65 72 73 69 6f 6e 2c  a newer version,
2340: 20 6a 75 73 74 0a 72 65 70 6c 61 63 65 20 74 68   just.replace th
2350: 65 20 6f 6c 64 20 65 78 65 63 75 74 61 62 6c 65  e old executable
2360: 20 77 69 74 68 20 74 68 65 20 6e 65 77 20 6f 6e   with the new on
2370: 65 2e 20 20 59 6f 75 20 6d 69 67 68 74 20 6e 65  e.  You might ne
2380: 65 64 20 74 6f 20 0a 72 75 6e 20 61 20 6f 6e 65  ed to .run a one
2390: 2d 74 69 6d 65 20 63 6f 6d 6d 61 6e 64 20 74 6f  -time command to
23a0: 20 72 65 73 74 72 75 63 74 75 72 65 20 79 6f 75   restructure you
23b0: 72 20 72 65 70 6f 73 69 74 6f 72 69 65 73 20 61  r repositories a
23c0: 66 74 65 72 0a 61 6e 20 75 70 67 72 61 64 65 2e  fter.an upgrade.
23d0: 20 20 43 68 65 63 6b 20 74 68 65 20 69 6e 73 74    Check the inst
23e0: 72 75 63 74 69 6f 6e 73 20 74 68 61 74 20 63 6f  ructions that co
23f0: 6d 65 20 77 69 74 68 20 74 68 65 20 75 70 67 72  me with the upgr
2400: 61 64 65 0a 66 6f 72 20 64 65 74 61 69 6c 73 2e  ade.for details.
2410: 3c 2f 70 3e 0a 0a 3c 70 3e 54 6f 20 75 73 65 20  </p>..<p>To use 
2420: 66 6f 73 73 69 6c 2c 20 73 69 6d 70 6c 79 20 74  fossil, simply t
2430: 79 70 65 20 74 68 65 20 6e 61 6d 65 20 6f 66 20  ype the name of 
2440: 65 78 65 63 75 74 61 62 6c 65 20 69 6e 20 79 6f  executable in yo
2450: 75 72 0a 73 68 65 6c 6c 2c 20 66 6f 6c 6c 6f 77  ur.shell, follow
2460: 65 64 20 62 79 20 6f 6e 65 20 6f 66 20 74 68 65  ed by one of the
2470: 20 76 61 72 69 6f 75 73 20 62 75 69 6c 74 2d 69   various built-i
2480: 6e 20 63 6f 6d 6d 61 6e 64 73 20 61 6e 64 0a 61  n commands and.a
2490: 72 67 75 6d 65 6e 74 73 20 61 70 70 72 6f 70 72  rguments appropr
24a0: 69 61 74 65 20 66 6f 72 20 74 68 61 74 20 63 6f  iate for that co
24b0: 6d 6d 61 6e 64 2e 20 20 46 6f 72 20 65 78 61 6d  mmand.  For exam
24c0: 70 6c 65 3a 3c 2f 70 3e 0a 0a 3c 62 6c 6f 63 6b  ple:</p>..<block
24d0: 71 75 6f 74 65 3e 3c 62 3e 0a 66 6f 73 73 69 6c  quote><b>.fossil
24e0: 20 68 65 6c 70 0a 3c 2f 62 3e 3c 2f 62 6c 6f 63   help.</b></bloc
24f0: 6b 71 75 6f 74 65 3e 0a 0a 3c 70 3e 49 6e 20 74  kquote>..<p>In t
2500: 68 65 20 6e 65 78 74 20 73 65 63 74 69 6f 6e 2c  he next section,
2510: 20 77 68 65 6e 20 77 65 20 73 61 79 20 74 68 69   when we say thi
2520: 6e 67 73 20 6c 69 6b 65 20 22 75 73 65 20 74 68  ngs like "use th
2530: 65 20 3c 62 3e 68 65 6c 70 3c 2f 62 3e 0a 63 6f  e <b>help</b>.co
2540: 6d 6d 61 6e 64 22 20 77 65 20 6d 65 61 6e 20 74  mmand" we mean t
2550: 6f 20 75 73 65 20 74 68 65 20 63 6f 6d 6d 61 6e  o use the comman
2560: 64 20 6e 61 6d 65 20 22 68 65 6c 70 22 20 61 73  d name "help" as
2570: 20 74 68 65 20 66 69 72 73 74 0a 74 6f 6b 65 6e   the first.token
2580: 20 61 66 74 65 72 20 74 68 65 20 6e 61 6d 65 20   after the name 
2590: 6f 66 20 74 68 65 20 66 6f 73 73 69 6c 20 65 78  of the fossil ex
25a0: 65 63 75 74 61 62 6c 65 2c 20 61 73 20 73 68 6f  ecutable, as sho
25b0: 77 6e 20 61 62 6f 76 65 2e 3c 2f 70 3e 0a 0a 3c  wn above.</p>..<
25c0: 68 32 3e 34 2e 30 20 57 6f 72 6b 66 6c 6f 77 3c  h2>4.0 Workflow<
25d0: 2f 68 32 3e 0a 0a 3c 69 6d 67 20 73 72 63 3d 22  /h2>..<img src="
25e0: 63 6f 6e 63 65 70 74 32 2e 67 69 66 22 20 61 6c  concept2.gif" al
25f0: 69 67 6e 3d 22 72 69 67 68 74 22 20 68 73 70 61  ign="right" hspa
2600: 63 65 3d 22 31 30 22 3e 0a 3c 6f 6c 3e 0a 3c 6c  ce="10">.<ol>.<l
2610: 69 3e 3c 70 3e 0a 45 73 74 61 62 6c 69 73 68 20  i><p>.Establish 
2620: 61 20 6c 6f 63 61 6c 20 72 65 70 6f 73 69 74 6f  a local reposito
2630: 72 79 20 75 73 69 6e 67 20 65 69 74 68 65 72 20  ry using either 
2640: 74 68 65 20 3c 62 3e 6e 65 77 3c 2f 62 3e 20 63  the <b>new</b> c
2650: 6f 6d 6d 61 6e 64 0a 74 6f 20 73 74 61 72 74 20  ommand.to start 
2660: 61 20 6e 65 77 20 70 72 6f 6a 65 63 74 2c 20 6f  a new project, o
2670: 72 20 74 68 65 20 3c 62 3e 63 6c 6f 6e 65 3c 2f  r the <b>clone</
2680: 62 3e 20 63 6f 6d 6d 61 6e 64 20 74 6f 20 6d 61  b> command to ma
2690: 6b 65 20 61 20 63 6c 6f 6e 65 0a 6f 66 20 61 20  ke a clone.of a 
26a0: 72 65 70 6f 73 69 74 6f 72 79 20 66 6f 72 20 61  repository for a
26b0: 6e 20 65 78 69 73 74 69 6e 67 20 70 72 6f 6a 65  n existing proje
26c0: 63 74 2e 20 0a 3c 2f 70 3e 3c 2f 6c 69 3e 0a 0a  ct. .</p></li>..
26d0: 3c 6c 69 3e 3c 70 3e 0a 45 73 74 61 62 6c 69 73  <li><p>.Establis
26e0: 68 20 6f 6e 65 20 6f 72 20 6d 6f 72 65 20 73 6f  h one or more so
26f0: 75 72 63 65 20 74 72 65 65 73 20 62 79 20 63 68  urce trees by ch
2700: 61 6e 67 69 6e 67 20 79 6f 75 72 20 77 6f 72 6b  anging your work
2710: 69 6e 67 20 64 69 72 65 63 74 6f 72 79 0a 74 6f  ing directory.to
2720: 20 77 68 65 72 65 20 79 6f 75 20 77 61 6e 74 20   where you want 
2730: 74 68 65 20 72 6f 6f 74 20 6f 66 20 74 68 65 20  the root of the 
2740: 73 6f 75 72 63 65 20 74 72 65 65 20 74 6f 20 62  source tree to b
2750: 65 2c 20 74 68 65 6e 20 69 73 73 75 69 6e 67 0a  e, then issuing.
2760: 74 68 65 20 3c 62 3e 6f 70 65 6e 3c 2f 62 3e 20  the <b>open</b> 
2770: 63 6f 6d 6d 61 6e 64 20 77 69 74 68 20 74 68 65  command with the
2780: 20 6e 61 6d 65 20 6f 66 20 74 68 65 20 72 65 70   name of the rep
2790: 6f 73 69 74 6f 72 79 20 66 69 6c 65 20 61 73 20  ository file as 
27a0: 69 74 73 0a 61 72 67 75 6d 65 6e 74 2e 0a 3c 2f  its.argument..</
27b0: 70 3e 3c 2f 6c 69 3e 0a 0a 3c 6c 69 3e 3c 70 3e  p></li>..<li><p>
27c0: 0a 55 73 65 20 74 68 65 20 3c 62 3e 75 70 64 61  .Use the <b>upda
27d0: 74 65 3c 2f 62 3e 20 63 6f 6d 6d 61 6e 64 20 66  te</b> command f
27e0: 6f 6c 6c 6f 77 65 64 20 62 79 20 61 20 55 55 49  ollowed by a UUI
27f0: 44 20 74 6f 20 63 61 75 73 65 20 79 6f 75 72 0a  D to cause your.
2800: 73 6f 75 72 63 65 20 74 72 65 65 20 74 6f 20 63  source tree to c
2810: 68 61 6e 67 65 20 74 6f 20 74 68 65 20 62 61 73  hange to the bas
2820: 65 6c 69 6e 65 20 69 64 65 6e 74 69 66 69 65 64  eline identified
2830: 20 62 79 20 74 68 61 74 20 55 55 49 44 2e 0a 54   by that UUID..T
2840: 68 65 20 3c 62 3e 74 69 6d 65 6c 69 6e 65 3c 2f  he <b>timeline</
2850: 62 3e 20 6f 72 20 3c 62 3e 6c 65 61 76 65 73 3c  b> or <b>leaves<
2860: 2f 62 3e 20 63 6f 6d 6d 61 6e 64 73 20 6d 69 67  /b> commands mig
2870: 68 74 20 68 65 6c 70 20 79 6f 75 20 74 6f 0a 69  ht help you to.i
2880: 64 65 6e 74 69 66 79 20 61 6e 20 61 70 70 72 6f  dentify an appro
2890: 70 72 69 61 74 65 20 62 61 73 65 6c 69 6e 65 2e  priate baseline.
28a0: 0a 3c 2f 70 3e 3c 2f 6c 69 3e 0a 0a 3c 6c 69 3e  .</p></li>..<li>
28b0: 3c 70 3e 0a 45 64 69 74 20 74 68 65 20 63 6f 64  <p>.Edit the cod
28c0: 65 2e 20 20 41 64 64 20 6e 65 77 20 66 69 6c 65  e.  Add new file
28d0: 73 20 74 6f 20 74 68 65 20 73 6f 75 72 63 65 20  s to the source 
28e0: 74 72 65 65 20 75 73 69 6e 67 20 74 68 65 20 3c  tree using the <
28f0: 62 3e 61 64 64 3c 2f 62 3e 0a 63 6f 6d 6d 61 6e  b>add</b>.comman
2900: 64 2e 20 20 4f 6d 69 74 20 66 69 6c 65 73 20 66  d.  Omit files f
2910: 72 6f 6d 20 66 75 74 75 72 65 20 62 61 73 65 6c  rom future basel
2920: 69 6e 65 73 20 75 73 69 6e 67 20 74 68 65 20 3c  ines using the <
2930: 62 3e 72 6d 3c 2f 62 3e 20 63 6f 6d 6d 61 6e 64  b>rm</b> command
2940: 2e 0a 28 45 76 65 6e 20 77 68 65 6e 20 79 6f 75  ..(Even when you
2950: 20 72 65 6d 6f 76 65 20 66 69 6c 65 73 20 66 72   remove files fr
2960: 6f 6d 20 66 75 74 75 72 65 20 62 61 73 65 6c 69  om future baseli
2970: 6e 65 73 2c 20 74 68 6f 73 65 20 66 69 6c 65 73  nes, those files
2980: 20 63 6f 6e 74 69 6e 75 65 0a 74 6f 20 65 78 69   continue.to exi
2990: 73 74 20 69 6e 20 68 69 73 74 6f 72 69 63 61 6c  st in historical
29a0: 20 62 61 73 65 6c 69 6e 65 73 2e 29 20 20 54 65   baselines.)  Te
29b0: 73 74 20 79 6f 75 72 20 63 68 61 6e 67 65 73 2e  st your changes.
29c0: 0a 3c 2f 70 3e 3c 2f 6c 69 3e 0a 0a 3c 6c 69 3e  .</p></li>..<li>
29d0: 3c 70 3e 0a 43 72 65 61 74 65 20 61 20 6e 65 77  <p>.Create a new
29e0: 20 62 61 73 65 6c 69 6e 65 20 75 73 69 6e 67 20   baseline using 
29f0: 74 68 65 20 3c 62 3e 63 6f 6d 6d 69 74 3c 2f 62  the <b>commit</b
2a00: 3e 20 63 6f 6d 6d 61 6e 64 2e 20 20 59 6f 75 20  > command.  You 
2a10: 77 69 6c 6c 20 62 65 20 70 72 6f 6d 70 74 65 64  will be prompted
2a20: 0a 66 6f 72 20 61 20 63 68 65 63 6b 2d 69 6e 20  .for a check-in 
2a30: 63 6f 6d 6d 65 6e 74 20 61 6e 64 20 61 6c 73 6f  comment and also
2a40: 20 66 6f 72 20 79 6f 75 72 20 47 50 47 20 6b 65   for your GPG ke
2a50: 79 20 69 66 20 79 6f 75 20 68 61 76 65 20 47 50  y if you have GP
2a60: 47 20 69 6e 73 74 61 6c 6c 65 64 2e 0a 54 68 65  G installed..The
2a70: 20 63 6f 6d 6d 69 74 20 63 6f 70 69 65 73 20 74   commit copies t
2a80: 68 65 20 65 64 69 74 73 20 79 6f 75 20 68 61 76  he edits you hav
2a90: 65 20 6d 61 64 65 20 69 6e 20 79 6f 75 72 20 6c  e made in your l
2aa0: 6f 63 61 6c 20 73 6f 75 72 63 65 0a 74 72 65 65  ocal source.tree
2ab0: 20 69 6e 74 6f 20 79 6f 75 72 20 6c 6f 63 61 6c   into your local
2ac0: 20 72 65 70 6f 73 69 74 6f 72 79 2e 0a 3c 2f 70   repository..</p
2ad0: 3e 3c 2f 6c 69 3e 0a 0a 3c 6c 69 3e 3c 70 3e 0a  ></li>..<li><p>.
2ae0: 53 68 61 72 65 20 79 6f 75 72 20 63 68 61 6e 67  Share your chang
2af0: 65 73 20 77 69 74 68 20 6f 74 68 65 72 73 20 75  es with others u
2b00: 73 69 6e 67 20 74 68 65 20 3c 62 3e 70 75 73 68  sing the <b>push
2b10: 3c 2f 62 3e 20 63 6f 6d 6d 61 6e 64 2e 20 0a 50  </b> command. .P
2b20: 75 73 68 20 63 61 75 73 65 73 20 74 68 65 20 65  ush causes the e
2b30: 64 69 74 73 20 79 6f 75 20 63 6f 6d 6d 69 74 74  dits you committ
2b40: 65 64 20 69 6e 74 6f 20 79 6f 75 72 20 6c 6f 63  ed into your loc
2b50: 61 6c 20 72 65 70 6f 73 69 74 6f 72 79 20 74 6f  al repository to
2b60: 20 62 65 0a 70 75 73 68 65 64 20 6f 75 74 20 69   be.pushed out i
2b70: 6e 74 6f 20 6f 74 68 65 72 20 72 65 70 6f 73 69  nto other reposi
2b80: 74 6f 72 69 65 73 2e 0a 3c 2f 70 3e 3c 2f 6c 69  tories..</p></li
2b90: 3e 0a 0a 3c 6c 69 3e 3c 70 3e 0a 57 68 65 6e 20  >..<li><p>.When 
2ba0: 79 6f 75 72 20 63 6f 77 6f 72 6b 65 72 73 20 6d  your coworkers m
2bb0: 61 6b 65 20 74 68 65 69 72 20 6f 77 6e 20 63 68  ake their own ch
2bc0: 61 6e 67 65 73 2c 20 79 6f 75 20 63 61 6e 20 70  anges, you can p
2bd0: 75 6c 6c 20 74 68 6f 73 65 20 63 68 61 6e 67 65  ull those change
2be0: 73 0a 69 6e 74 6f 20 79 6f 75 72 20 6c 6f 63 61  s.into your loca
2bf0: 6c 20 72 65 70 6f 73 69 74 6f 72 79 20 75 73 69  l repository usi
2c00: 6e 67 20 74 68 65 20 3c 62 3e 70 75 6c 6c 3c 2f  ng the <b>pull</
2c10: 62 3e 20 63 6f 6d 6d 61 6e 64 2e 20 20 20 4e 6f  b> command.   No
2c20: 74 65 20 74 68 61 74 0a 74 68 65 20 70 75 6c 6c  te that.the pull
2c30: 20 63 6f 6d 6d 61 6e 64 20 6f 6e 6c 79 20 70 75   command only pu
2c40: 6c 6c 73 20 74 68 65 20 63 68 61 6e 67 65 73 20  lls the changes 
2c50: 69 6e 74 6f 20 79 6f 75 72 20 6c 6f 63 61 6c 20  into your local 
2c60: 72 65 70 6f 73 69 74 6f 72 79 2c 0a 6e 6f 74 20  repository,.not 
2c70: 69 6e 74 6f 20 79 6f 75 72 20 6c 6f 63 61 6c 20  into your local 
2c80: 73 6f 75 72 63 65 20 74 72 65 65 2e 0a 3c 2f 70  source tree..</p
2c90: 3e 3c 2f 6c 69 3e 0a 0a 3c 6c 69 3e 3c 70 3e 0a  ></li>..<li><p>.
2ca0: 41 66 74 65 72 20 74 68 65 20 63 68 61 6e 67 65  After the change
2cb0: 73 20 6f 66 20 6f 74 68 65 72 73 20 61 72 65 20  s of others are 
2cc0: 69 6e 20 79 6f 75 72 20 6c 6f 63 61 6c 20 72 65  in your local re
2cd0: 70 6f 73 69 74 6f 72 79 2c 20 79 6f 75 20 0a 63  pository, you .c
2ce0: 61 6e 20 6d 6f 76 65 20 74 68 65 6d 20 69 6e 74  an move them int
2cf0: 6f 20 79 6f 75 72 20 6c 6f 63 61 6c 20 73 6f 75  o your local sou
2d00: 72 63 65 20 74 72 65 65 20 75 73 69 6e 67 20 3c  rce tree using <
2d10: 62 3e 75 70 64 61 74 65 3c 2f 62 3e 2e 20 20 49  b>update</b>.  I
2d20: 66 20 0a 79 6f 75 20 68 61 76 65 20 6d 61 64 65  f .you have made
2d30: 20 70 61 72 61 6c 6c 65 6c 0a 63 68 61 6e 67 65   parallel.change
2d40: 73 2c 20 79 6f 75 20 63 61 6e 20 6d 65 72 67 65  s, you can merge
2d50: 20 79 6f 75 72 20 63 68 61 6e 67 65 73 20 74 6f   your changes to
2d60: 67 65 74 68 65 72 20 77 69 74 68 20 79 6f 75 72  gether with your
2d70: 20 63 6f 77 6f 72 6b 65 72 73 20 63 68 61 6e 67   coworkers chang
2d80: 65 73 0a 62 79 20 64 6f 20 61 6e 20 3c 62 3e 75  es.by do an <b>u
2d90: 70 64 61 74 65 3c 2f 62 3e 20 74 6f 20 79 6f 75  pdate</b> to you
2da0: 72 20 6c 61 74 65 73 74 20 62 61 73 65 6c 69 6e  r latest baselin
2db0: 65 2c 20 74 68 65 6e 20 64 6f 69 6e 67 20 61 0a  e, then doing a.
2dc0: 3c 62 3e 6d 65 72 67 65 3c 2f 62 3e 20 77 69 74  <b>merge</b> wit
2dd0: 68 20 79 6f 75 72 20 63 6f 77 6f 72 6b 65 72 73  h your coworkers
2de0: 20 6c 61 74 65 73 74 20 62 61 73 65 6c 69 6e 65   latest baseline
2df0: 2e 20 20 41 66 74 65 72 20 79 6f 75 72 0a 76 65  .  After your.ve
2e00: 72 69 66 79 20 74 68 61 74 20 74 68 65 20 6d 65  rify that the me
2e10: 72 67 65 64 20 63 6f 64 65 20 69 73 20 73 74 69  rged code is sti
2e20: 6c 6c 20 66 75 6e 63 74 69 6f 6e 61 6c 2c 20 79  ll functional, y
2e30: 6f 75 20 63 61 6e 20 3c 62 3e 63 6f 6d 6d 69 74  ou can <b>commit
2e40: 3c 2f 62 3e 0a 61 20 6e 65 77 20 62 61 73 65 6c  </b>.a new basel
2e50: 69 6e 65 20 74 68 61 74 20 63 6f 6e 74 61 69 6e  ine that contain
2e60: 73 20 62 6f 74 68 20 79 6f 75 72 73 20 61 6e 64  s both yours and
2e70: 20 79 6f 75 72 20 63 6f 77 6f 72 6b 65 72 73 20   your coworkers 
2e80: 63 68 61 6e 67 65 73 0a 61 6e 64 20 74 68 65 6e  changes.and then
2e90: 20 70 75 73 68 20 74 68 65 20 6e 65 77 20 62 61   push the new ba
2ea0: 73 65 6c 69 6e 65 20 62 61 63 6b 20 74 6f 20 79  seline back to y
2eb0: 6f 75 72 20 63 6f 77 6f 72 6b 65 72 2e 0a 3c 2f  our coworker..</
2ec0: 70 3e 3c 2f 6c 69 3e 0a 0a 3c 6c 69 3e 3c 70 3e  p></li>..<li><p>
2ed0: 0a 52 65 70 65 61 74 20 61 6c 6c 20 6f 66 20 74  .Repeat all of t
2ee0: 68 65 20 61 62 6f 76 65 20 75 6e 74 69 6c 20 79  he above until y
2ef0: 6f 75 20 68 61 76 65 20 67 65 6e 65 72 61 74 65  ou have generate
2f00: 64 20 67 72 65 61 74 20 73 6f 66 74 77 61 72 65  d great software
2f10: 2e 0a 3c 2f 70 3e 3c 2f 6c 69 3e 0a 3c 2f 6f 6c  ..</p></li>.</ol
2f20: 3e 0a 0a 3c 68 32 3e 35 2e 30 20 53 65 74 74 69  >..<h2>5.0 Setti
2f30: 6e 67 20 55 70 20 41 20 46 6f 73 73 69 6c 20 53  ng Up A Fossil S
2f40: 65 72 76 65 72 3c 2f 68 32 3e 0a 0a 3c 70 3e 57  erver</h2>..<p>W
2f50: 69 74 68 20 6f 74 68 65 72 20 63 6f 6e 66 69 67  ith other config
2f60: 75 72 61 74 69 6f 6e 20 6d 61 6e 61 67 65 6d 65  uration manageme
2f70: 6e 74 20 73 6f 66 74 77 61 72 65 2c 20 73 65 74  nt software, set
2f80: 74 69 6e 67 20 75 70 20 61 20 73 65 72 76 65 72  ting up a server
2f90: 20 69 73 0a 61 20 6c 6f 74 20 6f 66 20 77 6f 72   is.a lot of wor
2fa0: 6b 20 61 6e 64 20 6e 6f 72 6d 61 6c 6c 79 20 74  k and normally t
2fb0: 61 6b 65 73 20 74 69 6d 65 2c 20 70 61 74 69 65  akes time, patie
2fc0: 6e 63 65 2c 20 61 6e 64 20 61 20 6c 6f 74 20 6f  nce, and a lot o
2fd0: 66 20 73 79 73 74 65 6d 0a 6b 6e 6f 77 6c 65 64  f system.knowled
2fe0: 67 65 2e 20 20 46 6f 73 73 69 6c 20 69 73 20 64  ge.  Fossil is d
2ff0: 65 73 69 67 6e 65 64 20 74 6f 20 61 76 6f 69 64  esigned to avoid
3000: 20 74 68 69 73 20 66 72 75 73 74 72 61 74 69 6f   this frustratio
3010: 6e 2e 20 20 53 65 74 74 69 6e 67 20 75 70 0a 61  n.  Setting up.a
3020: 20 73 65 72 76 65 72 20 77 69 74 68 20 66 6f 73   server with fos
3030: 73 69 6c 20 69 73 20 72 69 64 69 63 75 6c 6f 75  sil is ridiculou
3040: 73 6c 79 20 65 61 73 79 2e 20 20 59 6f 75 20 68  sly easy.  You h
3050: 61 76 65 20 74 68 72 65 65 20 6f 70 74 69 6f 6e  ave three option
3060: 73 3a 3c 2f 70 3e 0a 0a 3c 6f 6c 3e 0a 3c 6c 69  s:</p>..<ol>.<li
3070: 3e 3c 70 3e 3c 62 3e 53 65 74 74 69 6e 67 20 75  ><p><b>Setting u
3080: 70 20 61 20 73 74 61 6e 64 2d 61 6c 6f 6e 65 20  p a stand-alone 
3090: 73 65 72 76 65 72 3c 2f 62 3e 3c 2f 70 3e 0a 0a  server</b></p>..
30a0: 3c 70 3e 46 72 6f 6d 20 77 69 74 68 69 6e 20 79  <p>From within y
30b0: 6f 75 72 20 73 6f 75 72 63 65 20 74 72 65 65 20  our source tree 
30c0: 6a 75 73 74 20 75 73 65 20 74 68 65 20 3c 62 3e  just use the <b>
30d0: 73 65 72 76 65 72 3c 2f 62 3e 20 63 6f 6d 6d 61  server</b> comma
30e0: 6e 64 20 61 6e 64 0a 66 6f 73 73 69 6c 20 77 69  nd and.fossil wi
30f0: 6c 6c 20 73 74 61 72 74 20 6c 69 73 74 65 6e 69  ll start listeni
3100: 6e 67 20 66 6f 72 20 69 6e 63 6f 6d 69 6e 67 20  ng for incoming 
3110: 72 65 71 75 65 73 74 73 20 6f 6e 20 54 43 50 20  requests on TCP 
3120: 70 6f 72 74 20 38 30 38 30 2e 0a 59 6f 75 20 63  port 8080..You c
3130: 61 6e 20 70 6f 69 6e 74 20 79 6f 75 72 20 77 65  an point your we
3140: 62 62 72 6f 77 73 65 72 20 61 74 20 3c 61 20 68  bbrowser at <a h
3150: 72 65 66 3d 22 68 74 74 70 3a 2f 2f 6c 6f 63 61  ref="http://loca
3160: 6c 68 6f 73 74 3a 38 30 38 30 2f 22 3e 0a 68 74  lhost:8080/">.ht
3170: 74 70 3a 2f 2f 6c 6f 63 61 6c 68 6f 73 74 3a 38  tp://localhost:8
3180: 30 38 30 2f 3c 2f 61 3e 20 61 6e 64 20 62 65 67  080/</a> and beg
3190: 69 6e 20 65 78 70 6c 6f 72 69 6e 67 2e 20 20 4f  in exploring.  O
31a0: 72 20 79 6f 75 72 20 63 6f 77 6f 72 6b 65 72 73  r your coworkers
31b0: 0a 63 61 6e 20 64 6f 20 70 75 73 68 65 73 20 6f  .can do pushes o
31c0: 72 20 70 75 6c 6c 73 20 61 67 61 69 6e 73 74 20  r pulls against 
31d0: 79 6f 75 72 20 73 65 72 76 65 72 2e 20 20 55 73  your server.  Us
31e0: 65 20 74 68 65 20 3c 62 3e 2d 2d 70 6f 72 74 3c  e the <b>--port<
31f0: 2f 62 3e 0a 6f 70 74 69 6f 6e 20 74 6f 20 74 68  /b>.option to th
3200: 65 20 73 65 72 76 65 72 20 63 6f 6d 6d 61 6e 64  e server command
3210: 20 74 6f 20 73 70 65 63 69 66 79 20 61 20 64 69   to specify a di
3220: 66 66 65 72 65 6e 74 20 54 43 50 20 70 6f 72 74  fferent TCP port
3230: 2e 20 20 49 66 0a 79 6f 75 20 64 6f 20 6e 6f 74  .  If.you do not
3240: 20 68 61 76 65 20 61 20 6c 6f 63 61 6c 20 73 6f   have a local so
3250: 75 72 63 65 20 74 72 65 65 2c 20 75 73 65 20 74  urce tree, use t
3260: 68 65 20 3c 62 3e 2d 52 3c 2f 62 3e 20 63 6f 6d  he <b>-R</b> com
3270: 6d 61 6e 64 2d 6c 69 6e 65 0a 6f 70 74 69 6f 6e  mand-line.option
3280: 20 74 6f 20 73 70 65 63 69 66 79 20 74 68 65 20   to specify the 
3290: 72 65 70 6f 73 69 74 6f 72 79 20 66 69 6c 65 2e  repository file.
32a0: 3c 2f 70 3e 0a 0a 3c 70 3e 41 20 73 74 61 6e 64  </p>..<p>A stand
32b0: 2d 61 6c 6f 6e 65 20 73 65 72 76 65 72 20 69 73  -alone server is
32c0: 20 61 20 67 72 65 61 74 20 77 61 79 20 74 6f 20   a great way to 
32d0: 73 65 74 20 6f 66 20 74 72 61 6e 73 69 65 6e 74  set of transient
32e0: 20 63 6f 6e 6e 65 63 74 69 6f 6e 73 0a 62 65 74   connections.bet
32f0: 77 65 65 6e 20 63 6f 77 6f 72 6b 65 72 73 20 66  ween coworkers f
3300: 6f 72 20 64 6f 69 6e 67 20 71 75 69 63 6b 20 70  or doing quick p
3310: 75 73 68 65 73 20 6f 72 20 70 75 6c 6c 73 2e 20  ushes or pulls. 
3320: 20 42 75 74 20 79 6f 75 20 63 61 6e 20 61 6c 73   But you can als
3330: 6f 0a 73 65 74 20 75 70 20 61 20 70 65 72 6d 61  o.set up a perma
3340: 6e 65 6e 74 20 73 74 61 6e 64 2d 61 6c 6f 6e 65  nent stand-alone
3350: 20 73 65 72 76 65 72 20 69 66 20 79 6f 75 20 70   server if you p
3360: 72 65 66 65 72 2e 20 20 4a 75 73 74 20 6d 61 6b  refer.  Just mak
3370: 65 0a 61 72 72 61 6e 67 65 6d 65 6e 74 73 20 66  e.arrangements f
3380: 6f 72 20 66 6f 73 73 69 6c 20 74 6f 20 62 65 20  or fossil to be 
3390: 6c 61 75 6e 63 68 65 64 20 77 69 74 68 20 61 70  launched with ap
33a0: 70 72 6f 70 72 69 61 74 65 20 61 72 67 75 6d 65  propriate argume
33b0: 6e 74 73 0a 61 66 74 65 72 20 65 76 65 72 79 20  nts.after every 
33c0: 72 65 62 6f 6f 74 2e 3c 2f 70 3e 0a 3c 2f 6c 69  reboot.</p>.</li
33d0: 3e 0a 0a 3c 6c 69 3e 3c 70 3e 3c 62 3e 53 65 74  >..<li><p><b>Set
33e0: 74 69 6e 67 20 75 70 20 61 20 43 47 49 20 73 65  ting up a CGI se
33f0: 72 76 65 72 3c 2f 62 3e 3c 2f 70 3e 0a 0a 3c 70  rver</b></p>..<p
3400: 3e 49 66 20 79 6f 75 20 68 61 76 65 20 61 20 77  >If you have a w
3410: 65 62 73 65 72 76 65 72 20 72 75 6e 6e 69 6e 67  ebserver running
3420: 20 6f 6e 20 79 6f 75 72 20 6d 61 63 68 69 6e 65   on your machine
3430: 20 61 6c 72 65 61 64 79 2c 20 79 6f 75 20 63 61   already, you ca
3440: 6e 0a 73 65 74 20 75 70 20 66 6f 73 73 69 6c 20  n.set up fossil 
3450: 74 6f 20 62 65 20 72 75 6e 20 66 72 6f 6d 20 43  to be run from C
3460: 47 49 2e 20 20 53 69 6d 70 6c 79 20 63 72 65 61  GI.  Simply crea
3470: 74 65 20 61 6e 20 65 78 65 63 75 74 61 62 6c 65  te an executable
3480: 20 73 63 72 69 70 74 0a 74 68 61 74 20 6c 6f 6f   script.that loo
3490: 6b 73 20 73 6f 6d 65 74 68 69 6e 67 20 6c 69 6b  ks something lik
34a0: 65 20 74 68 69 73 3a 3c 2f 70 3e 0a 0a 3c 62 6c  e this:</p>..<bl
34b0: 6f 63 6b 71 75 6f 74 65 3e 3c 70 72 65 3e 0a 23  ockquote><pre>.#
34c0: 21 2f 75 73 72 2f 6c 6f 63 61 6c 2f 62 69 6e 2f  !/usr/local/bin/
34d0: 66 6f 73 73 69 6c 0a 72 65 70 6f 73 69 74 6f 72  fossil.repositor
34e0: 79 3a 20 2f 68 6f 6d 65 2f 6d 65 2f 62 69 67 70  y: /home/me/bigp
34f0: 72 6f 6a 65 63 74 2e 66 6f 73 73 69 6c 0a 3c 2f  roject.fossil.</
3500: 70 72 65 3e 3c 2f 62 6c 6f 63 6b 71 75 6f 74 65  pre></blockquote
3510: 3e 0a 0a 3c 70 3e 45 64 69 74 20 74 68 69 73 20  >..<p>Edit this 
3520: 73 63 72 69 70 74 20 74 6f 20 75 73 65 20 77 68  script to use wh
3530: 61 74 65 76 65 72 20 70 61 74 68 6e 61 6d 65 73  atever pathnames
3540: 20 61 72 65 20 61 70 70 72 6f 70 72 69 61 74 65   are appropriate
3550: 20 66 6f 72 0a 79 6f 75 72 20 70 72 6f 6a 65 63   for.your projec
3560: 74 2e 20 20 54 68 65 6e 20 70 6f 69 6e 74 20 79  t.  Then point y
3570: 6f 75 72 20 77 65 62 62 72 6f 77 73 65 72 20 61  our webbrowser a
3580: 74 20 74 68 65 20 73 63 72 69 70 74 20 61 6e 64  t the script and
3590: 20 6f 66 66 20 79 6f 75 0a 67 6f 2e 3c 2f 70 3e   off you.go.</p>
35a0: 3c 2f 6c 69 3e 0a 0a 3c 6c 69 3e 3c 70 3e 3c 62  </li>..<li><p><b
35b0: 3e 53 65 74 74 69 6e 67 20 75 70 20 61 6e 20 69  >Setting up an i
35c0: 6e 65 74 64 20 73 65 72 76 65 72 3c 2f 62 3e 3c  netd server</b><
35d0: 2f 70 3e 0a 0a 3c 70 3e 49 66 20 79 6f 75 20 68  /p>..<p>If you h
35e0: 61 76 65 20 69 6e 65 74 64 20 6f 72 20 78 69 6e  ave inetd or xin
35f0: 65 74 64 20 72 75 6e 6e 69 6e 67 20 6f 6e 20 79  etd running on y
3600: 6f 75 72 20 73 79 73 74 65 6d 2c 20 79 6f 75 20  our system, you 
3610: 63 61 6e 20 73 65 74 0a 74 68 6f 73 65 20 73 65  can set.those se
3620: 72 76 69 63 65 73 20 75 70 20 74 6f 20 6c 61 75  rvices up to lau
3630: 6e 63 68 20 66 6f 73 73 69 6c 20 74 6f 20 64 65  nch fossil to de
3640: 61 6c 20 77 69 74 68 20 69 6e 62 6f 75 6e 64 20  al with inbound 
3650: 54 43 50 2f 49 50 20 63 6f 6e 6e 65 63 74 69 6f  TCP/IP connectio
3660: 6e 73 0a 6f 6e 20 77 68 61 74 65 76 65 72 20 70  ns.on whatever p
3670: 6f 72 74 20 79 6f 75 20 77 61 6e 74 2e 20 20 53  ort you want.  S
3680: 65 74 20 75 70 20 69 6e 65 74 64 20 6f 72 20 78  et up inetd or x
3690: 69 6e 65 74 64 20 74 6f 20 6c 61 75 6e 63 68 20  inetd to launch 
36a0: 66 6f 73 73 69 6c 0a 6c 69 6b 65 20 74 68 69 73  fossil.like this
36b0: 3a 3c 2f 70 3e 0a 0a 3c 62 6c 6f 63 6b 71 75 6f  :</p>..<blockquo
36c0: 74 65 3e 3c 70 72 65 3e 0a 2f 75 73 72 2f 6c 6f  te><pre>./usr/lo
36d0: 63 61 6c 2f 62 69 6e 2f 66 6f 73 73 69 6c 20 68  cal/bin/fossil h
36e0: 74 74 70 20 2f 68 6f 6d 65 2f 6d 65 2f 62 69 67  ttp /home/me/big
36f0: 70 72 6f 6a 65 63 74 2e 66 6f 73 73 69 6c 0a 3c  project.fossil.<
3700: 2f 70 72 65 3e 3c 2f 62 6c 6f 63 6b 71 75 6f 74  /pre></blockquot
3710: 65 3e 0a 0a 3c 70 3e 41 73 20 62 65 66 6f 72 65  e>..<p>As before
3720: 2c 20 63 68 61 6e 67 65 20 74 68 65 20 66 69 6c  , change the fil
3730: 65 6e 61 6d 65 73 20 74 6f 20 77 68 61 74 65 76  enames to whatev
3740: 65 72 20 69 73 20 61 70 70 72 6f 70 72 69 61 74  er is appropriat
3750: 65 20 66 6f 72 0a 79 6f 75 72 20 73 79 73 74 65  e for.your syste
3760: 6d 2e 20 20 59 6f 75 20 63 61 6e 20 68 61 76 65  m.  You can have
3770: 20 66 6f 73 73 69 6c 20 72 75 6e 20 61 73 20 61   fossil run as a
3780: 6e 79 20 75 73 65 72 20 74 68 61 74 20 68 61 73  ny user that has
3790: 20 77 72 69 74 65 0a 70 65 72 6d 69 73 73 69 6f   write.permissio
37a0: 6e 20 6f 6e 20 74 68 65 20 72 65 70 6f 73 69 74  n on the reposit
37b0: 6f 72 79 20 61 6e 64 20 6f 6e 20 74 68 65 20 64  ory and on the d
37c0: 69 72 65 63 74 6f 72 79 20 74 68 61 74 20 63 6f  irectory that co
37d0: 6e 74 61 69 6e 73 20 74 68 65 0a 72 65 70 6f 73  ntains the.repos
37e0: 69 74 6f 72 79 2e 20 20 42 75 74 20 69 74 20 69  itory.  But it i
37f0: 73 20 73 61 66 65 72 20 74 6f 20 72 75 6e 20 66  s safer to run f
3800: 6f 73 73 69 6c 20 61 73 20 72 6f 6f 74 2e 20 20  ossil as root.  
3810: 57 68 65 6e 20 66 6f 73 73 69 6c 0a 73 65 65 73  When fossil.sees
3820: 20 74 68 61 74 20 69 74 20 69 73 20 72 75 6e 6e   that it is runn
3830: 69 6e 67 20 61 73 20 72 6f 6f 74 2c 20 69 74 20  ing as root, it 
3840: 61 75 74 6f 6d 61 74 69 63 61 6c 6c 79 20 70 75  automatically pu
3850: 74 73 20 69 74 73 65 6c 66 20 69 6e 74 6f 0a 61  ts itself into.a
3860: 20 3c 61 20 68 72 65 66 3d 22 68 74 74 70 3a 2f   <a href="http:/
3870: 2f 65 6e 2e 77 69 6b 69 70 65 64 69 61 2e 6f 72  /en.wikipedia.or
3880: 67 2f 77 69 6b 69 2f 43 68 72 6f 6f 74 22 3e 63  g/wiki/Chroot">c
3890: 68 72 6f 6f 74 20 6a 61 69 6c 3c 2f 61 3e 20 61  hroot jail</a> a
38a0: 6e 64 0a 64 72 6f 70 73 20 61 6c 6c 20 70 72 69  nd.drops all pri
38b0: 76 69 6c 65 67 65 73 20 70 72 69 6f 72 20 74 6f  vileges prior to
38c0: 20 72 65 61 64 69 6e 67 20 61 6e 79 20 69 6e 66   reading any inf
38d0: 6f 72 6d 61 74 69 6f 6e 20 66 72 6f 6d 20 74 68  ormation from th
38e0: 65 20 63 6c 69 65 6e 74 2e 0a 53 69 6e 63 65 20  e client..Since 
38f0: 66 6f 73 73 69 6c 20 69 73 20 61 20 73 74 61 6e  fossil is a stan
3900: 64 2d 61 6c 6f 6e 65 20 70 72 6f 67 72 61 6d 2c  d-alone program,
3910: 20 79 6f 75 20 64 6f 20 6e 6f 74 20 6e 65 65 64   you do not need
3920: 20 74 6f 20 70 75 74 20 61 6e 79 74 68 69 6e 67   to put anything
3930: 0a 69 6e 20 74 68 65 20 63 68 72 6f 6f 74 20 6a  .in the chroot j
3940: 61 69 6c 20 77 69 74 68 20 66 6f 73 73 69 6c 20  ail with fossil 
3950: 69 6e 20 6f 72 64 65 72 20 66 6f 72 20 69 74 20  in order for it 
3960: 74 6f 20 64 6f 20 69 74 73 20 6a 6f 62 2e 3c 2f  to do its job.</
3970: 70 3e 0a 3c 2f 6c 69 3e 0a 3c 2f 6f 6c 3e 0a     p>.</li>.</ol>.