Skip to content
Fossil Changes To Tutorial
Login

Changes To Tutorial

Changes to "Tutorial" between 2008-05-25 05:48:47 and 2008-05-25 06:41:52

︙
13
14
15
16
17
18
19





































13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56







+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
  *  Coming to Fossil from CVS.
  *  Coming to Fossil from Subversion.
  *  Coming to Fossil from bzr.
  *  Coming to Fossil from Darcs.
  *  Coming to Fossil from Mercurial.
  *  Coming to Fossil from git.
  *  Coming to Fossil from ... (what else?).

<hr>


<hr><i>On 2008-05-25 06:41:52 UTC michael added:</i><br />
<h2>Coming to <cite>Fossil</cite> from <cite>darcs</cite></h2>
If you're coming to <cite>Fossil</cite> from <cite>[http://www.darcs.net/|darcs]</cite>, most of <cite>Fossil</cite>'s concepts will not be new to you.  A brief comparison of the two systems will help get you oriented.
<nowiki>
<table width="50%" rules="all" border="1">
 <tr>
  <td><strong>Task</strong></td>
  <td><strong>darcs</strong></td>
  <td><strong>Fossil</strong></td>
 </tr>
 <tr valign="top">
  <td>Create a new repository.</td>
  <td><code>darcs init</code></td>
  <td><code>fossil new repo.fsl</code><sup>1</sup><code><br>fossil open repo.fsl</td>
 <tr valign="top">
  <td>Clone an existing repository.</td>
  <td><code>darcs get {PATH|URL}</code><sup>2</sup></td>
  <td><code>fossil clone URL clone.fsl</code><sup>1</sup><code><br>fossil open clone.fsl</td>
 </tr>
 <tr valign="top">
  <td>Collect changes from a remote repository.</td>
  <td><code>darcs pull [{PATH|URL}]</code></td>
  <td><code>fossil pull [URL]</code></td>
 </tr>
 <tr valign="top">
  <td>Send changes to remote repository.</td>
  <td><code>darcs push [{PATH|URL}]</code></td>
  <td><code>fossil push [URL]</code></td>
 </tr>
</table>
<sup>1</sup> A <cite>darcs</cite> repository is typically, in its most common use case, a subdirectory of the project directory.  A <cite>Fossil</cite> repository is a single file which can be placed anywhere on your disk.  It does not necessarily (and indeed usually shouldn't) reside in the same place you do your work.
<sup>2</sup> An alternative to using <code>darcs get</code> in the destination repository is to use <code>darcs put</code> in the source repository.
</nowiki>