On 8/30/17, BohwaZ <boh...@bohwaz.net> wrote:
> 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?

I'm having trouble reproducing the problem.  When I followed the steps
above it worked fine for me.  Here is a copy/paste of my shell:

drh@bella:~/fossil/m1/www$ echo one >test.txt
drh@bella:~/fossil/m1/www$ fossil uv add test.txt
drh@bella:~/fossil/m1/www$ fossil uv sync -v
                Bytes      Cards  Artifacts     Deltas
Sent:             127          1          0          0
Received:        4842         72          0          0
Unversioned-file sent: test.txt
Sent:             147          1          0          0
Received:          32          1          0          0
 done, sent: 720  received: 1804  ip: 45.33.6.223
drh@bella:~/fossil/m1/www$ echo two >test.txt
drh@bella:~/fossil/m1/www$ fossil uv add test.txt
drh@bella:~/fossil/m1/www$ fossil uv sync -v
                Bytes      Cards  Artifacts     Deltas
Sent:             127          1          0          0
UV-PUSH: test.txt
Received:        4912         73          0          0
Unversioned-file sent: test.txt
Sent:             147          1          0          0
Received:          32          1          0          0
 done, sent: 719  received: 1842  ip: 45.33.6.223

And if you look at https://www.fossil-scm.org/fossil/uv/test.txt you
can clearly see that it is the revised "test.txt" that got synced.

Do you have any additional information on how to cause this problem?
-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
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