Fossil Forum

Potential bug in fossil changes command
Login

Potential bug in fossil changes command

Potential bug in fossil changes command

(1) By anonymous on 2022-09-02 03:02:44 [source]

The setup (in an empty directory):

fossil init repo.fossil
fossil open repo.fossil
touch some-file
fossil add some-file
fossil commit
echo 'some data' > some-file

Now if you run

fossil changes --all --extra

you get

EDITED     some-file

which is expected.

But if you run

fossil changes --all --extra some-file

you get

EDITED     some-file
EXTRA      some-file

which doesn't make sense as some-file can't be both managed and unmanaged, right?

P.S. I am running with a fossil version of

This is fossil version 2.19 [1e131febd3] 2022-07-21 16:10:55 UTC

(2) By Stephan Beal (stephan) on 2022-09-02 08:05:31 in reply to 1 [link] [source]

which doesn't make sense as some-file can't be both managed and unmanaged, right?

A definite bug but a cosmetic one. i'll look into this as priorities allow (which currently means "not soon!") unless someone else picks it up before then.

Thank you for the report!

(3) By mark on 2022-09-25 14:21:26 in reply to 1 [link] [source]

Thanks for the report!

This has been fixed on trunk: 39eb451ad3326a65