views:

472

answers:

1

Is there a way to count/calculate the total size of a svn directory if you were to checkout a revision?

I have limited internet downloads so I need to know how big something is before I go and download it.

Thank you.

+1  A: 

Using the below, you can determine the size of individual files.

svn list --verbose --recursive http://svn/repo/path

Maybe you can look around this command to find a way?

Dan McGrath
Seems to work fine, but takes an awful while and no idea how much traffic that gobbles up already. In PowerShell it's as easy as: `([xml](svn list --xml --recursive https://svn/repo/path)).lists.list.entry | measure -sum size`
Joey
Does it work with externals too?
cetnar
No. Externals are a whole other ballgame.
Dan McGrath