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

[PATCH] Tab-completion in svnshell.py

From: <craig.howard_at_shadnet.shad.ca>
Date: 2003-07-25 06:58:42 CEST

I tried to send this a few days ago, but my outgoing mail was screwed and I
didn't see it in the archives, so I'm trying again. My apologies if this is
a repeat.

Attached is a patch to add tab-completion to svnshell.py. There is only
one issue with the patch, and that's explained in the comment in the
function svnshell._complete(). If anyone knows what's going on there, I'd
love to hear it! cd will only complete directory names, and cat will only
complete file names. No other commands have had completion added.
I've also attached a patch that exits the shell on EOF, like python does
and makes sure a newline is printed after exiting, so that the next line of
your regular shell is on its own line, like it should be.
Please cc me with any comments, as I'm not subscribed to the list. Thanks
for reading.

Craig Howard
3B Computer Science -- University of Waterloo

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Fri Jul 25 07:08:59 2003

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.