Re: Lock file error

Tõivo Leedjärv <[email protected]>
Newsgroups gmane.network.unison.general
Message-ID <CAALvpZSBphvacPB2pgcxX=y2GeWmvS-5ee4Wc2d2ft9wnwy=iw@mail.gmail.com>
On Mon, 18 Dec 2023 at 14:56, Patrick Giasson <[email protected]> wrote:
>
> unison -testServer a.tmp ssh://server/a.tmp
> Fatal error: cannot synchronize more than one remote root

I think your default profile is interfering here.
If you don't specify any profile name then settings are read from a
profile called "default" (in a file .unison/default.prf). The end
result is that there are now four roots specified: two in the default
profile, two on the command line.

To get around this either (temporarily, if you want) rename the
default.prf or create a new empty file (for example noprofile.prf) and
then invoke it as follows:
unison -testServer noprofile a.tmp ssh://server/a.tmp

-- 
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.