On Thu, Feb 01, 2018 at 12:03:13PM -0500, Richard Hipp 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.
>

Agree, 

For the record:  I've Attached the original script and the revised one,
both slightly modified so the symlink actually works.. 

The same workaround is still valid, but the test is closer to the
reality.

Regards,

-- 
Martin G.

Attachment: symlink_bug.sh
Description: Bourne shell script

Attachment: symlink_bug_workaround.sh
Description: Bourne shell script

_______________________________________________
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