Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-781

Some commands could use a --depth indicator option

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • all
    • 1.5.0
    • src
    • None

    Description

      See the thread "recursive/nonrecursive" on the dev list.
      
      Basically, some commands might be improved if they had a way to
      indicate depth, that is, "depth 0" means operate on this directory,
      "depth 1" means operate on this directory and its non-descendable
      children (i.e., non-dirs, though maybe in some contexts such as
      propset it would operate on child subdirectories too, just not descend
      inside them), and "depth 2" means fully recursive.
      
      We should collect a few scenarios in which this ability to indicate
      depth might be useful, and then decide on the exact interface.  Here
      is one example from Nuutti Kotivuori:
      
        - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      
      From: Nuutti Kotivuori <naked@iki.fi>
      Subject: Re: recursive/nonrecursive
      To: Ben Collins-Sussman <sussman@collab.net>
      Cc: SVN Dev List <dev@subversion.tigris.org>
      Date: Thu, 04 Jul 2002 22:39:31 +0300                                
                
      
      I must say that this has bothered me in other places as well. It's the
      same thing that the ls -d switch is made for.
      
      My personal pet peeve is 'svn st -vnu .' It shows me all the entries
      in the current directory - where as I would want it to show only '.' -
      like it does when I say 'svn st -vnu README'.
      

      http://svn.collab.net/repos/svn/trunk/notes/sparse-directories.txt

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              kfogel Karl Fogel
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: