[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: bash completion for subversion

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2004-11-08 22:07:29 CET

"Brian W. Fitzpatrick" <fitz@collab.net> writes:

>> > # Possible expansions, without unambiguous abbreviations such as "up".
>> > cmds=$($exe help| egrep '^ ' | sed -e 's/(//;s/)//;s/,//g')

As far as I can tell it's happening here. The process that is using
memory/CPU is a child of the command line bash:

0 1000 4642 1404 9 0 2488 1376 pipe_w S+ pts/0 0:00 bash
1 1000 4761 4642 14 0 384804 383716 - R+ pts/0 0:16 bash

PID 4642 is the command line while 4761 is using 380MB. When I
interrupt completion using Ctrl-C 4761 goes away. I don't know how to
debug it, strace just shows repeated calls to brk().

>> My real problem is that I can't get it to work. The things that don't
>> work are:
>>
>> $ svn <TAB>
>>
>> The shell uses CPU and memory (it goes into swap) but doesn't generate
>> a list of commands. Command completion fails in the same way:
>>
>> $ svn che<TAB>
>
> Odd. Both of these work for me. Here's my version info:
>
> $ bash --version
> GNU bash, version 2.05b.0(1)-release (i386-redhat-linux-gnu)

GNU bash, version 2.05a.0(1)-release (i386-pc-linux-gnu)

This is Debian stable.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 8 22:07:56 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.