darcs

Issue 682 local darcs 1 -> remote darcs 2 push failed with no error

Title local darcs 1 -> remote darcs 2 push failed with no error
Priority bug Status resolved
Milestone Resolved in
Superseder Nosy List darcs-devel, dmitry.kurochkin, kowey, markstos, thorkilnaur, tommy
Assigned To
Topics Darcs2

Created on 2008-02-13.19:10:36 by simon, last changed 2009-08-27.14:02:31 by admin.

Messages
msg3375 (view) Author: simon Date: 2008-02-13.19:10:35
Using darcs 1.0.9, I pushed from a local darcs 1 repo to a remote darcs 1 repo. 
On the remote server, darcs 2.0.0pre3 (~feb 6th) had been installed as the 
default "darcs". The push repeatably completed without an error message, didn't 
show "Finished applying", didnt't apply the patch and left a lock file in the 
remote repo. Making darcs 1 the default on the remote server made things work 
normally again.
msg3427 (view) Author: droundy Date: 2008-02-14.19:11:47
I suspect that this is now fixed, as I fixed a recent bug in applying patches. 
But it might not be, so if you could test this and let me know, that would be
great.  (I'm not resolving yet, because I'm uncertain that I've fixed what went
wrong here, just suspicious that it's the same bug that I fixed today.)

Thanks for the report!
msg3428 (view) Author: simon Date: 2008-02-14.20:26:30
Thanks David. I can still reproduce it with the latest code.
msg3429 (view) Author: droundy Date: 2008-02-14.22:37:18
I just tried this out, and successfully used darcs 1.0.9rc1 to push to a remote
server running the latest darcs-2 unstable.  So I'm afraid there may be
something specific going wrong on your server.  :(
msg3430 (view) Author: markstos Date: 2008-02-14.23:06:37
David,

Is there a technique we could use to get more debugging output. For example,
maybe there's a way to have the darcs on the server run apply with
"--debug-verbose" and log the results to a file...or back to the user?

  Mark
msg3445 (view) Author: droundy Date: 2008-02-15.15:17:37
On Thu, Feb 14, 2008 at 11:06:38PM -0000, Mark Stosberg wrote:
> Is there a technique we could use to get more debugging output. For example,
> maybe there's a way to have the darcs on the server run apply with
> "--debug-verbose" and log the results to a file...or back to the user?

One could definitely add --debug-verbose to the defaults file on the
server, but I can't think of a good way to log the results to a file
(without adding a new flag to darcs, which seems a bit heavy).  Perhaps
just adding --debug-verbose would be enough to trigger this? Another option
would be to try using darcs send and darcs apply to trigger this manually.
Or one could use something like `DARCS_SSH='cat > /tmp/log' darcs push` to
find out what darcs push is trying to send to the remote darcs apply... I
suppose one might need to write a little script to handle this, given how
darcs calls ssh (giving the server as an argument).  And then one could
call apply by hand.
-- 
David Roundy
Department of Physics
Oregon State University
msg3471 (view) Author: markstos Date: 2008-02-16.02:02:45
Simon, 

This sounds similar to, but different than what happened in issue672. A
workaround in that case using send and apply rather than "push" caused the patch
apply cleanly. Plus, it gives you the chance to run apply with
"--debug-verbose". I recommend trying that next.
msg5346 (view) Author: simon Date: 2008-08-09.05:43:17
That repo is long gone; I am assuming this was fixed, if not re-open.
History
Date User Action Args
2008-02-13 19:10:36simoncreate
2008-02-14 19:11:49droundysetstatus: unread -> testing
nosy: droundy, tommy, beschmi, kowey, simon
messages: + msg3427
assignedto: simon
2008-02-14 20:26:31simonsetstatus: testing -> has-patch
nosy: droundy, tommy, beschmi, kowey, simon
messages: + msg3428
2008-02-14 22:37:20droundysetnosy: droundy, tommy, beschmi, kowey, simon
messages: + msg3429
2008-02-14 23:06:38markstossetstatus: has-patch -> waiting-for
nosy: + markstos
messages: + msg3430
2008-02-15 15:17:38droundysetnosy: droundy, tommy, beschmi, kowey, markstos, simon
messages: + msg3445
2008-02-16 02:02:46markstossettopic: + Darcs2
nosy: droundy, tommy, beschmi, kowey, markstos, simon
messages: + msg3471
2008-08-09 05:43:19simonsetstatus: waiting-for -> resolved
nosy: + dagit
messages: + msg5346
assignedto: simon ->
2009-08-06 17:54:20adminsetnosy: + jast, Serware, dmitry.kurochkin, darcs-devel, zooko, mornfall, thorkilnaur, - droundy
2009-08-06 20:57:56adminsetnosy: - beschmi
2009-08-10 22:15:02adminsetnosy: - darcs-devel, zooko, jast, Serware, mornfall
2009-08-11 00:06:56adminsetnosy: - dagit
2009-08-25 17:23:42adminsetnosy: + darcs-devel, - simon
2009-08-27 14:02:31adminsetnosy: tommy, kowey, markstos, darcs-devel, thorkilnaur, dmitry.kurochkin