public inbox for cygwin-talk@cygwin.com
 help / color / mirror / Atom feed
* unison 2.40.16 (cygwin) over ssh doesn't resume after merge command
@ 2010-09-30 11:45 Robert Schmidt
  2010-09-30 13:43 ` Christopher Faylor
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Schmidt @ 2010-09-30 11:45 UTC (permalink / raw)
  To: cygwin-talk

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?
>



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: unison 2.40.16 (cygwin) over ssh doesn't resume after merge command
  2010-09-30 11:45 unison 2.40.16 (cygwin) over ssh doesn't resume after merge command Robert Schmidt
@ 2010-09-30 13:43 ` Christopher Faylor
  0 siblings, 0 replies; 2+ messages in thread
From: Christopher Faylor @ 2010-09-30 13:43 UTC (permalink / raw)
  To: cygwin-talk

On Thu, Sep 30, 2010 at 01:29:36PM +0200, Robert Schmidt wrote:
>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.

You're in the wrong mailing list.  From the description on
http://cygwin.com/lists.html:

  # cygwin-talk: a mindless chatter list for discussing things that are
  tangentially related to Cygwin.  This list is intended to be funny but
  not terribly helpful.  Do not send technical questions about Cygwin
  here.  Use the main Cygwin mailing list for serious Cygwin questions
  since responses to technical questions in this list are not guaranteed
  to be serious or definitive.  No profanity, no commercial posts, and

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-09-30 13:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-30 11:45 unison 2.40.16 (cygwin) over ssh doesn't resume after merge command Robert Schmidt
2010-09-30 13:43 ` Christopher Faylor

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).