Hey,

I'm trying to update an unversioned file in my repo, so I do:

# first add
fossil uv add file.zip
fossil uv sync

# updating the file
fossil uv add file.zip
fossil uv sync

And now the file is 0 bytes?

This seems to work normally:

# first add
fossil uv add file.zip
fossil uv sync

# delete
fossil uv rm file.zip
fossil uv sync

# re-add
fossil uv add file.zip
fossil uv sync

But if you don't sync between removal and add, the 0 bytes bug is happening.

Maybe we are not supposed to update unversioned files? In that case maybe fossil should say it instead of overwriting the existing file with an empty one.

Cheers,
BohwaZ

_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to