public inbox for cygwin-talk@cygwin.com
 help / color / mirror / Atom feed
From: Robert Schmidt <robert.schmidt-cisternas@blueback-reservoir.com>
To: cygwin-talk@cygwin.com
Subject: unison 2.40.16 (cygwin) over ssh doesn't resume after merge command
Date: Thu, 30 Sep 2010 11:45:00 -0000	[thread overview]
Message-ID: <i81sb0$1ci$1@dough.gmane.org> (raw)

Hi all,
This is forwarded from the unison-users mailing list.  Original post at 
the bottom...

Executive summary: unison 2.40.16 (cygwin) freezes upon exit of a merge 
command, but only when one root is ssh.  Works fine when both are local.
Testing the MSVC build of 2.40.16 also works fine with a ssh-root.

Any hints are welcome!  As a last resort, I'll have to dive into 
building unison on cygwin myself.

Cheers,
Robert

-------- Original Message --------

Thanks, Harald!

However, I'm fairly committed to using cygwin in many respects (I
synchronize a substantial set of portable tools, scripts and data
between all my servers and workstation (about 10 in total)), and would
prefer keep it that way.

The debug message is the last debug output (using -debug all) before
unison "freezes".  I deemed the other messages to be unimportant - I
realize I may have been mistaken.

The problem seems to be easily reproducible on several of my
workstations using the command line I posted, and doesn't seem to depend
on any specifics of my setup.

I have now done the test with the MSVC build of 2.40.16 (as client,
against a cygwin unison+ssh "server"), and the problem does NOT occur.
So it seems to be a problem with the cygwin port.

What's the best way to proceed?  I've never built unison myself, so I'm
a bit stumped.

Cheers,
Robert

On 28.09.2010 16:46, Harald Heigl wrote:
> Why still using unison over cygwin?
>
> 2.40.16 supports Unicode, so no problem syncing between Win/Linux/Mac.
> (The first two of them I can confirm)
>
> If you want to give it a try, sync your directories (if not working with
> 2.40.16, then with an older version which worked for you) and after that
> sync directly with 2.40.16 without cygwin (I use putty/plink for ssh).
>
> “The debug message” is from Option -debug all? Or is this just what it
> prints out if you start the commando without debug option?
>
> Regards,
>
> *Von:* unison-users@yahoogroups.com
> [mailto:unison-users@yahoogroups.com] *Im Auftrag von *Robert Schmidt
> *Gesendet:* Dienstag, 28. September 2010 15:03
> *An:* unison-users@yahoogroups.com
> *Betreff:* [unison-users] unison 2.40.16 (cygwin) over ssh doesn't
> resume after merge command
>
> Hi,
>
> After the upgrade to 2.40.16, I've had problems with unison simply
> freezing when the merge command has finished - as if it is still waiting
> for the process to exit.
>
> This always happens when syncing local to a remote location over ssh,
> but never when syncing two local roots.
>
> A sample command line (using a simple cp instead of my merge script):
>
> unison -root / -root ssh://mylogin@myserver// <ssh://mylogin@myserver/>
> -path
> home/private/Documents/test.txt -merge "Name {*.txt} -> cp CURRENT1 NEW"
> -backupcurrent "Name {*.txt}" -debug all
>
> The last debug message is:
>
> Merge command: cp '/home/private/Documents/.unison.merge1-test.txt'
> '/home/private/Documents/.unison
> .mergenew1-test.txt'
>
> After which, unison seems to wait indefinitely.
>
> Is this a known bug, or am I doing something wrong?
>



             reply	other threads:[~2010-09-30 11:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30 11:45 Robert Schmidt [this message]
2010-09-30 13:43 ` Christopher Faylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='i81sb0$1ci$1@dough.gmane.org' \
    --to=robert.schmidt-cisternas@blueback-reservoir.com \
    --cc=cygwin-talk@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).