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

svn ls - could it list non repo directories?

From: Jeff Cave <jeff.cave_at_sunergon.com>
Date: 2004-05-03 19:36:23 CEST

I was wondering if it would be useful for "svn ls" to list non-repository directories. I know this functionality doesn't exist, but I am wondering if it would be considered useful (I know I would like it).

My company is just starting to use version control and we have a lot of small projects for companies. Because we do a lot of projects specifically for the company we have group the projects by company in the file structure:

  repodir
   |
   +- comp1
   | |
   | +- proj1
   | |
   | +- proj2
   |
   +- comp2
       |
       +- proj1
       |
       +- proj2

We have pointed svnserve at "repodir", but put repositories at the project level. That means it can turn into a guessing game as to what the company or project directory is called.

What I would like to be able to do is something like:

  $> svn ls svn://server
  comp1/
  comp2/
  comp3/
  
  $> svn ls svn://server/comp2
  proj1/
  proj2/
  
  $> svn ls svn://server/comp2/proj1
  branch/
  tag/
  trunk/

I'm not sure if this would have to do with svn or svnserve, or if it would even be desirable for most people. But I figured I would throw it out there and see what people think.

If you think this is more a problem of poor repo layout, let me know. I am spearheading this move *and* am learning as I go. Sometimes a difficult position to be in.

I have searched both the issues and the mailing list, but didn't see anything about this. I must admit though... I'm not very good at picking the right search words/phrases.

Jeff Cave

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 3 19:37:11 2004

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.