Re: another way to produce path.ml assertion failure assertion failure, tested versions 2.40.65 and 2.48.3

Julian Squires <[email protected]> Tue, 21 Jul 2015 16:22:57 -0400
Newsgroups gmane.network.unison.devel
Message-ID <CAEbLoBJKyRZwEnJfJk2uvKmKUNOZbRV1v8-dWv-FXac-h1yGMQ@mail.gmail.com>
On Tue, Jul 21, 2015 at 2:58 PM, Frederik Eaton <[email protected]> wrote:
> The bit about syncing between different versions of unison/ocaml is
> interesting, but it's not relevant to the bug I reported.
>
> Can you reproduce the bug by running my script? It syncs locally so
> there is only one version of unison/ocaml involved at a time.

I've attached a script that may be easier for people to use to
reproduce the bug, as it uses the text UI and does not depend on
xvkbd.

FWIW, for me the bug occurs as you describe, with OCaml 4.01 and unison 2.48.0.

-- 
Julian Squires

_______________________________________________
Unison-hackers mailing list
[email protected]
http://lists.seas.upenn.edu/mailman/listinfo/unison-hackers
unison-bug.sh (application/x-sh, 307 B)
#!/bin/sh

set -e

tempdir=`mktemp -d /tmp/unison-bugXXX`
cd ${tempdir?}
trap 'rm -rv "${tempdir?}"' EXIT
mkdir .unison
export UNISON=.unison
touch foo bar
echo hi > foo
unison -ui text -backup 'Name *' -batch -force foo foo bar
echo bye > bar
unison -ui text -backup 'Name *' -batch foo bar
rm -r $tempdir