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

Re: svnshell-like client

From: David Weintraub <qazwart_at_gmail.com>
Date: Mon, 6 Jun 2011 12:09:16 -0400

It's an interesting question...

You're too use to RCS. CVS, for example, uses RCS format for files,
but the files are on a remote server where no one but the CVS admin
has access. I guess ClearCase via dynamic views comes closest to what
you want. (You setup a "view", but can use the magical "@@" to see the
branching and history structure. Using "@@" allows you to use standard
Unix tools like "find" to do what you want). However, ClearCase is a
massive, CPU hungry, and slow system. Many a Subversion site was a
former ClearCase client.

What you're asking for doesn't sound all that difficult. I can imagine
a simple shell script that allows you to specify the URL when you
invoke it, but provides you with a "svn> " prompt that allows you to
use various commands.

In fact, if this is something that others might be interested in, I
might come up with something, maybe in Perl or even Python (it's about
time I learn it). The basic script would provide a few very generic
commands, but allow you to expand it in some sort of "plugin"
architecture. For example, the basic script will have the "ls", "cat",
and "cd" commands, but others could add a "find", "log", and other
commands.

On Tue, May 31, 2011 at 1:50 PM, Rick Varney <rnvarney_at_yahoo.com> wrote:
> Hello,
>
> We are migrating from a RCS-like revision control system, RCE, to
> Subversion.
>
> The users are accustomed to poking around in the directories where
> the archive files are stored to see what's there in a Linux bash shell.
> While it is possible to do this using the svn client commands by providing
> the full path to objects in the repository, it is somewhat inconvenient.  A
> shell user accustomed to using cd, ls, and path completion to inspect a file
> tree can't use the same methods when inspecting the repository.
>
> I noticed svnshell.py.  This is similar to what I am looking for.  However,
> svnshell.py is a server-side script.  I am looking for a client-side script
> - we have users at multiple sites that will want to inspect the repository.
>
> The key features/commands I am looking for are:
>
> 1. a client-side script
> 2. cd to change the current directory
> 3. ls to list files
> 4. path completion using the TAB key
> 5. info command to invoke svn info on a repository file or dir
> 6. log command to invoke svn log on a repository file or dir
> 7. a simple find command
>
> Is there anything out there like this?  I have not found anything in my web
> searches so far.  If not, any suggestions on what to use as a good starting
> point?
>
> Best regards,
>
> Rick Varney

-- 
David Weintraub
qazwart_at_gmail.com
Received on 2011-06-06 18:09:50 CEST

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

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