You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Carsten Koch <Ca...@icem.com> on 2005/06/28 23:33:53 UTC

Feature suggestion: -O (--omit-files) flag for svn checkout and svn update.

Hi,

as explained here
   http://subversion.tigris.org/servlets/ReadMsg?listName=users&msgNo=34267
and here
   http://subversion.tigris.org/servlets/ReadMsg?list=users&msgNo=34293
many users in my organization would like to check out only partially
populated directory trees.
Of course it makes no sense to check out files without the proper
directory environment, which is also needed as a home for the .svn
directory.
However, a nice solution could be a -O flag.
Just like the -N flag omits all subdirectories, the -O flag would
omit all files (just check out a "skeleton" directory). Individual
files could then be filled in using svn update.

Example:
I want to work on
     http://host/repository/project/trunk
currently, all I need is
     http://host/repository/project/trunk/Makefile
and
     http://host/repository/project/trunk/dira/prog.cpp

for reasons such as download performance and directory clarity,
I do not want to check out all the other files in
http://host/repository/project/trunk and in
http://host/repository/project/trunk/dira.
With the new -O flag, I could do the following:
    svn checkout -O http://host/repository/project/trunk
    cd trunk
    svn update Makefile
    svn update -O dira
    cd dira
    svn update prog.cpp



Carsten.

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