
Is it possible to create a high level (probably top level) always empty directory that I can svn switch to? Switch into empty allows me to easily update and watch only the folders I care about and its a recommended practice to improve svn size and performance. http://tortoisesvn.net/node/237 Thanks, Michael Marcin

On 8/23/07, Michael Marcin <mmarcin@method-solutions.com> wrote:
Is it possible to create a high level (probably top level) always empty directory that I can svn switch to? Switch into empty allows me to easily update and watch only the folders I care about and its a recommended practice to improve svn size and performance.
Can't you just create a local Subversion database and switch to it instead? -- /Johan.

Johan Lindvall wrote:
On 8/23/07, Michael Marcin <mmarcin@method-solutions.com> wrote:
Is it possible to create a high level (probably top level) always empty directory that I can svn switch to? Switch into empty allows me to easily update and watch only the folders I care about and its a recommended practice to improve svn size and performance.
Can't you just create a local Subversion database and switch to it instead?
If you do that you get an error that says your local repository is not the same repository as the boost repository. - Michael Marcin

Michael Marcin wrote:
Is it possible to create a high level (probably top level) always empty directory that I can svn switch to? Switch into empty allows me to easily update and watch only the folders I care about and its a recommended practice to improve svn size and performance.
Hm, that's interesting... But how does it help with the first update which contains those "bazillion megabytes" before you can do the switch to the empty dir? -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

Rene Rivera wrote:
Michael Marcin wrote:
Is it possible to create a high level (probably top level) always empty directory that I can svn switch to? Switch into empty allows me to easily update and watch only the folders I care about and its a recommended practice to improve svn size and performance.
Hm, that's interesting... But how does it help with the first update which contains those "bazillion megabytes" before you can do the switch to the empty dir?
My workaround is to update and after it starts grabbing files in a folder I don't care about I cancel, svn switch that folder to empty, and then update again... rinse and repeat until the update succeeds. I'm sure there is a better way. - Michael Marcin

On Thu, 23 Aug 2007, Michael Marcin wrote:
Rene Rivera wrote:
Michael Marcin wrote:
Is it possible to create a high level (probably top level) always empty directory that I can svn switch to? Switch into empty allows me to easily update and watch only the folders I care about and its a recommended practice to improve svn size and performance.
Hm, that's interesting... But how does it help with the first update which contains those "bazillion megabytes" before you can do the switch to the empty dir?
My workaround is to update and after it starts grabbing files in a folder I don't care about I cancel, svn switch that folder to empty, and then update again... rinse and repeat until the update succeeds.
I'm sure there is a better way.
To only grab specific directories, the -N flag prevents recursion. e.g. A skeleton of boost and most of smart_ptr can be grabbed by
svn co -N http://svn.boost.org/svn/boost/trunk boost cd boost svn up -N boost doc libs tools svn up libs/smart_ptr
This behaves like an "automount" filesystem -- directories don't appear until you ask for them. - Daniel

On Aug 22, 2007, at 10:52 PM, Michael Marcin wrote:
Is it possible to create a high level (probably top level) always empty directory that I can svn switch to? Switch into empty allows me to easily update and watch only the folders I care about and its a recommended practice to improve svn size and performance.
It's now available as http://svn.boost.org/svn/boost/empty/ - Doug

Doug Gregor wrote:
On Aug 22, 2007, at 10:52 PM, Michael Marcin wrote:
Is it possible to create a high level (probably top level) always empty directory that I can svn switch to? Switch into empty allows me to easily update and watch only the folders I care about and its a recommended practice to improve svn size and performance.
It's now available as
Thanks!
participants (5)
-
dherring@ll.mit.edu
-
Doug Gregor
-
Johan Lindvall
-
Michael Marcin
-
Rene Rivera