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

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

From: Carsten Koch <Carsten.Koch_at_icem.com>
Date: 2005-06-29 01:33:53 CEST

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
Received on Wed Jun 29 01:35:56 2005

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.