Skip to content
Fossil Changes To fossil ls
Login

Changes To fossil ls

Changes to "fossil ls" between 2008-11-09 20:52:27 and 2008-11-09 21:03:39

︙
16
17
18
19
20
21
22
23

24
25
26
27
28
29
30
16
17
18
19
20
21
22

23
24
25
26
27
28
29
30







-
+








It's important to realize that this is the status <i>relative to the repository</i>,
it's the status as <b>fossil</b> sees it and has nothing to do with
filesystem status.  If you're new to source-management/version-control
systems, you'll probably get bit by this concept-bug at least once.

To really see the difference, issue an <code>ls</code> before and after doing
a <code>commit</code>.  Before, the status of files may be any of the three,
a <a href="wiki?name=fossil+commit"><code>commit</code></a>.  Before, the status of files may be any of the three,
but after <code>commit</code>ting changes the status will be UNCHANGED "across
the board."

By way of example, here's what I see if I <code>fossil ls</code> in the
directory where I have checked out my testing repository:
<nowiki><pre>
    $ fossil ls
︙
39
40
41
42
43
44
45




46
39
40
41
42
43
44
45
46
47
48
49
50







+
+
+
+

    _FOSSIL_   manifest         nibcrod
</pre></nowiki>

The <code>ls</code> command is almost, but not quite entirely, the exact
opposite of the
<a href="wiki?name=fossil+extra"><code>extra</code> command</a>.

Notes:
  *  There are more states for a file to be in than those listed, including MISSING, EDITED, RENAMED and a couple of others.
  *  If you come from the <b>Windows</b> world, it will help to know that 'ls' is the usually <b>unix</b> command for listing a directory.

See also: [fossil add], [fossil rm], [fossil extra], [fossil commit], <a href="doc/tip/www/concepts.wiki">Fossil concepts</a>, [Reference]