Fossil User Forum

unversioned ls VS list
Login

unversioned ls VS list

unversioned ls VS list

(1) By Kirill M (Kirill) on 2020-10-05 09:56:59 [source]

So it seems like uv ls and uv list behave a little bit differently.

The diff below documents the differences and the undocumented -l flag:

Index: src/unversioned.c

--- src/unversioned.c +++ src/unversioned.c @@ -256,10 +256,13 @@ ** list | ls Show all unversioned files held in the local ** repository. Options: ** ** --glob PATTERN Show only files that match ** --like PATTERN Show only files that match +** -l Show additional details for +** files that match. +** Enabled when 'list' is used ** ** revert ?URL? Restore the state of all unversioned files in the ** local repository to match the remote repository ** URL. **

There's also --all flag, but that does not seem to have any practical utility...

(2) By Stephan Beal (stephan) on 2020-10-05 10:17:13 in reply to 1 [link] [source]

The diff below documents the differences and the undocumented -l flag:

A very slight variation of that is now in trunk.

There's also --all flag, but that does not seem to have any practical utility...

It does "something" but i'm not familiar enough with the uv usage to say exactly what that something is. It modifies the query used for the list, in any case.

(3) By Kirill M (Kirill) on 2020-10-05 10:46:44 in reply to 2 [link] [source]

A very slight variation of that is now in trunk.

That was a better wording, thank you.

It does "something" but i'm not familiar enough with the uv usage to say exactly what that something is. It modifies the query used for the list, in any case.

It shows files with hash set to NULL, which seems to be the case for nuked unversioned content. Altough I don't know what practical utility this have.