darcs push failed on fresh repo

26 views
Skip to first unread message

popinet

unread,
May 13, 2010, 5:39:24 PM5/13/10
to patch-tag-users
Hi,

I am trying to push to a freshly created repo. I have clicked on "Fix
repo permissions" first, just to be sure.

When trying to push a single patch, I get:

% darcs push pop...@patch-tag.com:/r/popinet/gerris-ehd
Pushing to "pop...@patch-tag.com:/r/popinet/gerris-ehd"...
Tue Jan 18 13:32:33 NZDT 2005 Stephane Popinet <s.po...@niwa.co.nz>
* Initial commit (s.po...@niwa.co.nz--2004/gerris--mainline--0.5)
Shall I push this patch? (1/1359) [ynWvplxdaqjk], or ? for help: a
Apply failed!

If I try again I get:

% darcs push pop...@patch-tag.com:/r/popinet/gerris-ehd
Pushing to "pop...@patch-tag.com:/r/popinet/gerris-ehd"...
Tue Jan 18 13:32:33 NZDT 2005 Stephane Popinet <s.po...@niwa.co.nz>
* Initial commit (s.po...@niwa.co.nz--2004/gerris--mainline--0.5)
Shall I push this patch? (1/1359) [ynWvplxdaqjk], or ? for help: y
Fri Oct 8 17:35:00 NZDT 2004 Stephane Popinet
<pop...@users.sourceforge.net>
* Conversion of .cvsignore to .arch-inventory (gerris--
mainline--0.5--patch-1)
gerris--mainline--0.5--patch-1
Keywords:


Shall I push this patch? (2/1359) [ynWvplxdaqjk], or ? for help: d
Waiting for lock /privaterepos/popinet/gerris-ehd/_darcs/lock
Couldn't get lock /privaterepos/popinet/gerris-ehd/_darcs/lock
Exception thrown by an atexit registered action:
exception :: Darcs.SignalHandler.SignalException
darcs: fd:10: hPutBuf: resource vanished (Broken pipe)

Any suggestion?

thanks

Stephane

--
You received this message because you are subscribed to the Google Groups "patch-tag-users" group.
To post to this group, send email to patch-t...@googlegroups.com.
To unsubscribe from this group, send email to patch-tag-use...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/patch-tag-users?hl=en.

Thomas Hartman

unread,
May 14, 2010, 3:09:50 PM5/14/10
to patch-t...@googlegroups.com
Sorry for the wait, this one slipped by.

Removed the lock file, and in process of changing the "fix push
permissions" cheat to

1) delete lock files (this problem)
2) halt/restart the server process (which should fix the out of memory
errors another user reported)

t.
--
Need somewhere to put your code? http://patch-tag.com
Want to build a webapp? http://happstack.com

popinet

unread,
May 15, 2010, 6:28:33 AM5/15/10
to patch-tag-users
Hi Thomas,

> Removed the lock file, and in process of changing the "fix push
> permissions" cheat to
>
> 1) delete lock files (this problem)
> 2) halt/restart the server process (which should fix the out of memory
> errors another user reported)

Thanks for looking into this but I still have exactly the same problem
(same sequence as in my previous message), even after clicking several
times on "fix push permissions".... i.e. the lock file is still there
after receiving "apply failed" from darcs.

Any idea?

Thomas Hartman

unread,
May 15, 2010, 1:58:59 PM5/15/10
to patch-t...@googlegroups.com
Hm. I haven't finished the fix push permissions bit change yet, so
wouldn't expect a change in that behavior....

Just now, I deleted your lock file again and this time I did fix push
permissions immediately afterwards (can't remember if I did this
yesterday).

If this still isn't working could you add tphyahoo user to that repo?
(I know, there should be some admin hack to do this unilaterlally, but
I haven't implemented it yet.)

thomas.
--
Need somewhere to put your code? http://patch-tag.com
Want to build a webapp? http://happstack.com

Stephane Popinet

unread,
May 16, 2010, 5:53:02 PM5/16/10
to patch-t...@googlegroups.com
Hi Thomas,

> Just now, I deleted your lock file again and this time I did fix push
> permissions immediately afterwards (can't remember if I did this
> yesterday).

Thanks, it seems to be working now.

A somewhat related question: Am I wrong in thinking that you do not
use the global darcs cache for patches?

http://darcs.net/manual/node5.html#SECTION00530000000000000000

I am asking because, in my case, gerris-ehd is a branch of
gerris-devel which is already on patch-tag. If the repositories in
/r/popinet were using the global darcs cache, filling this branch with
'darcs push' would only involve my local darcs sending a list of the
required patches, these patches would all already be in the global
cache (because they are shared with gerris-devel) and I would expect
this initial 'darcs push' to be much faster than it currently is. It
looks like 'darcs push' uploads every patch from my local machine to
patch-tag (i.e. it does not use/find them in the darcs global cache).

Any thoughts?

Thanks for your great job

Grégoire

unread,
May 27, 2010, 10:56:52 AM5/27/10
to patch-tag-users
I have the same problems right now.

I want to push an existing repository to patch-tag and here is what
seems to happend :
I tried pushing all patches at once but it fails, then I couldn't push
even one patch because of the lock problem.
So I erased the repository and tried pushing the patches one by one.
It goes well until I got to some big patch. At that point I get a
memory error (darcs: out of memory (requested 31457280 bytes))

I already tried it three times (recreating the repo each time) and it
still fails.

Any ideas ?

Grégoire Détrez

Thomas Hartman

unread,
May 28, 2010, 4:32:45 PM5/28/10
to patch-t...@googlegroups.com
I believe should be ok now, please let me know otherwise.

Thomas Hartman

unread,
May 28, 2010, 4:36:14 PM5/28/10
to patch-t...@googlegroups.com
On second thought, I'm not sure about that memory error -- mainly I
meant that the issue with locks blocking a push is fixed, or improved
at least now that "fix permissions" action also deletes locks.

My test for big repositories is to push the whole darcs repo into
patch-tag, and this works for me. But maybe you have something even
bigger? If you want please give me a way to download the large repo
you are trying to push so that I can do my own tests with it.

I have been thinking of upgrading to a server with more memory, so
maybe now is the time.

cheers, thomas.

Grégoire Détrez

unread,
May 28, 2010, 4:54:51 PM5/28/10
to patch-t...@googlegroups.com
Le 28/05/10 22:36, Thomas Hartman a écrit :

> On second thought, I'm not sure about that memory error -- mainly I
> meant that the issue with locks blocking a push is fixed, or improved
> at least now that "fix permissions" action also deletes locks.
>
> My test for big repositories is to push the whole darcs repo into
> patch-tag, and this works for me. But maybe you have something even
> bigger? If you want please give me a way to download the large repo
> you are trying to push so that I can do my own tests with it.
>
> I have been thinking of upgrading to a server with more memory, so
> maybe now is the time.

Hi,

I fixed the permissions and now everything went well.
I don't know why the problem was there before.
If you want to investigate the repository in question is
https://patch-tag.com/r/gdetrez/pgf4jvm/
Thanks to you for fixing the problem !

Grégoire Détrez


--
Grégoire Détrez
Göteborg, Sweden ☃

//// gde...@crans.org
//// www.zjyto.net/Grégoire


Reply all
Reply to author
Forward
0 new messages