* exit status 141 from git-svn
@ 2008-06-23 15:00 Frederik Hohlfeld
2008-06-24 19:24 ` Frederik Hohlfeld
2008-07-22 17:52 ` Jan Hudec
0 siblings, 2 replies; 5+ messages in thread
From: Frederik Hohlfeld @ 2008-06-23 15:00 UTC (permalink / raw)
To: git
Hi
I have init'ed a git repository with git svn init.
Now I'm using git svn fetch, but it stops after just a few files/revisions. The
exit status is 141.
What does this 141 want to tell me?
Thanks
Frederik Hohlfeld
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: exit status 141 from git-svn
2008-06-23 15:00 exit status 141 from git-svn Frederik Hohlfeld
@ 2008-06-24 19:24 ` Frederik Hohlfeld
2008-06-25 14:47 ` Michael J Gruber
2008-07-22 17:52 ` Jan Hudec
1 sibling, 1 reply; 5+ messages in thread
From: Frederik Hohlfeld @ 2008-06-24 19:24 UTC (permalink / raw)
To: git
Frederik Hohlfeld <frederik.hohlfeld <at> gmail.com> writes:
> I have init'ed a git repository with git svn init.
>
> Now I'm using git svn fetch, but it stops after just a few files/revisions. The
> exit status is 141.
>
> What does this 141 want to tell me?
No one?
Both git svn clone and git svn fetch stop after just a dozen or so revisions and
only continue after calling the command again. For yet another few revisions.
I'd like to get a clue what's happening. A git problem? A svn problem?
Current Git Windows version.
Thanks
Frederik Hohlfeld
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: exit status 141 from git-svn
2008-06-24 19:24 ` Frederik Hohlfeld
@ 2008-06-25 14:47 ` Michael J Gruber
2008-06-26 19:07 ` Frederik Hohlfeld
0 siblings, 1 reply; 5+ messages in thread
From: Michael J Gruber @ 2008-06-25 14:47 UTC (permalink / raw)
To: git
Frederik Hohlfeld venit, vidit, dixit 24.06.2008 21:24:
> Frederik Hohlfeld <frederik.hohlfeld <at> gmail.com> writes:
>
>> I have init'ed a git repository with git svn init.
>>
>> Now I'm using git svn fetch, but it stops after just a few files/revisions. The
>> exit status is 141.
>>
>> What does this 141 want to tell me?
>
> No one?
>
> Both git svn clone and git svn fetch stop after just a dozen or so revisions and
> only continue after calling the command again. For yet another few revisions.
>
> I'd like to get a clue what's happening. A git problem? A svn problem?
>
> Current Git Windows version.
That seems to be the first piece of information you're giving regarding
your environment and setup. Giving more may result in getting more
answers. (I grepped for 141 in the source after your first posting)
Maybe you can cut'n'paste the actual output of git svn fetch? What's the
command line you're using, where's the svn repo?
Michael
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: exit status 141 from git-svn
2008-06-25 14:47 ` Michael J Gruber
@ 2008-06-26 19:07 ` Frederik Hohlfeld
0 siblings, 0 replies; 5+ messages in thread
From: Frederik Hohlfeld @ 2008-06-26 19:07 UTC (permalink / raw)
To: git
Michael J Gruber <michaeljgruber+gmane <at> fastmail.fm> writes:
> That seems to be the first piece of information you're giving regarding
> your environment and setup. Giving more may result in getting more
> answers. (I grepped for 141 in the source after your first posting)
> Maybe you can cut'n'paste the actual output of git svn fetch? What's the
> command line you're using, where's the svn repo?
Sorry, but I don't see any interesting piece of information in the output. I've
just assumed that exit status 141 had a well-defined meaning, different from
140, 15 and 999.
The subversion repo is company-internal and cannot be accessed from the outside.
The output (with modified strings to mask out the file names) is:
> git svn fetch
M a/b/c/d
M a/b/c/d
M a/b/c/d
M a/b/c/d
M a/b/c/d
M a/b/c/d
M a/b/c/d
M a/b/c/d
M a/b/c/d
r4934 = abcdefghi[...]jklmnopq (trunk)
Nothing more. I haven't found a verbose switch for "fetch", either.
Thanks for reading
Frederik Hohlfeld
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: exit status 141 from git-svn
2008-06-23 15:00 exit status 141 from git-svn Frederik Hohlfeld
2008-06-24 19:24 ` Frederik Hohlfeld
@ 2008-07-22 17:52 ` Jan Hudec
1 sibling, 0 replies; 5+ messages in thread
From: Jan Hudec @ 2008-07-22 17:52 UTC (permalink / raw)
To: Frederik Hohlfeld; +Cc: git
On Mon, Jun 23, 2008 at 15:00:41 +0000, Frederik Hohlfeld wrote:
> Hi
Sorry for late reply. I just noticed your message after returning from
holiday *and* getting time to try to catch up with the list. Hope a reply
might still be useful.
> I have init'ed a git repository with git svn init.
>
> Now I'm using git svn fetch, but it stops after just a few files/revisions. The
> exit status is 141.
>
> What does this 141 want to tell me?
Unix trivia: When process dies from a signal, it's return status (as returned
by wait/waitpid(2) is signal_number * 256. However when bourne/POSIX shell
sees this, it will convert it to 128 + signal_number.
Now 141 - 128 = 13 and signal 13 is SIGPIPE. Process gets a SIGPIPE when it's
writing to a pipe (or socket) and it gets closed on the reading end, so it
sounds like a bad redirection somewhere. Aren't you by chance redirecting the
output to less and than quitting that without first scrolling to the bottom?
(That would be the most situation where process gets SIGPIPE -- and the very
reason why SIGPIPE exists, so that simple commands (like cat) are simply
stopped when nobody is interested in their output anymore).
--
Jan 'Bulb' Hudec <bulb@ucw.cz>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-07-22 19:48 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-23 15:00 exit status 141 from git-svn Frederik Hohlfeld
2008-06-24 19:24 ` Frederik Hohlfeld
2008-06-25 14:47 ` Michael J Gruber
2008-06-26 19:07 ` Frederik Hohlfeld
2008-07-22 17:52 ` Jan Hudec
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 NNTP newsgroup(s).