On Thu, 1 Feb 2018 12:03:13 -0500 Richard Hipp <d...@sqlite.org> wrote:
> On 2/1/18, Martin Gagnon <eme...@gmail.com> wrote: > > > > I could reproduce it. I didn't have much time to investigate it for now > > but I have attached a simple shell script that reproduce the problem > > starting from scratch. > > > > Just put the shell script on an empty directory and execute it. > > Thanks for the repro script. > > If found that it does work if your break up the operation into two > distinct steps. > > (1) "fossil rm" the old files that will be changed into symlinks. > Then "fossil commit". > > (2) "fossil add" the new symlinks. Then "fossil commit" again. > > The revised script that works is attached. > > It would be great if it worked in a single step. But this is an > obscure case for which there is (now) a work-around, so it is of lower > priority for the moment. > > -- > D. Richard Hipp > d...@sqlite.org Yes, thanks, I was able to commit this way. Hope, the bug will not be hard to fix. Anyway, another obscure case is when the symlink points to a directory. In this case fossil adds the files of the directory twice - from the original directory and from the symlink. I was not able to make fossil to add to the repository only the symlink itself. Best regards. -- http://fresh.flatassembler.net http://asm32.info John Found <johnfo...@asm32.info> _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users