sparse SVN checkout

2 messages Options
Embed this post
Permalink
Christophe Dupre

sparse SVN checkout

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Hello all,
trying to use statsvn 0.5 here with subversion 1.6... Since our repos is huge (complete checkout would be more than 50GB due to all kinds of tags and branches), is it possible to make statsvn work on a sparse checkout ? Here's what I did:

svn co --depth immediates https://my.server/svn/repos
cd ibiza
svn up --set-depth immediates .
cd src
svn up --set-depth immediates .
cd trunk
svn up --set-depth infinity .

I then go back to the root of the checkout, and generate the log:

svn log -v --xml > ../log.xml

Then run statsvn:

java -mx1024m -jar ../statsvn.jar -output-dir out -verbose -disable-twitter-button  -cache-dir cache -include "/ibiza/src/trunk/**"  -tags-dir /ibiza/src/tags  -tags ".*" log.xml  ./repos/
Sep 2, 2009 4:50:34 PM net.sf.statsvn.util.JavaUtilTaskLogger info
INFO: StatSVN - SVN statistics generation

Parsing SVN log 'log.xml' exclude pattern '/ibiza/src/trunk/ibiza-soap-ui/**'
Scheduled 0 svn diff calls on 0 threads.
Generating report for  into out/
Using default CSS file (objectlab-statcvs.css)
The repository object is not valid. Please check your settings.
Is the log file empty? Do you run from a checked out directory? Do you have non-committed items?

As you can see, there's something it doesn't like... My previous tries where with a checkout of only the trunk sub-tree, but that didn't give me the tags vertical lines in the LOC graph.

Any help appreciated...


--
Christophe Dupré
Administrateur Unix et Réseau Sénior
Sr Unix and Network Administrator


75, rue Queen, Bureau 5100
Montréal (Québec)
H3C 2N6

Tel. 514 931.4433 poste 3078
Fax 514 931.4818
http://www.accovia.com

ACCOVIA
Membre du Groupe GFI Solutions Inc.



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users
Jason Kealey-2

Re: sparse SVN checkout

Reply Threaded More More options
Print post
Permalink
You can run StatSVN on portions of the code; technically this should work.  However, you are correct that this might cause problems with the tags - this might be something we could look at enhancing. Still, did you manage to get the tags working with that wildcard?

1) I've never really used --depth or --set-depth, I would be curious to see if it breaks StatSVN with regards to svn info --xml.  Can you paste an output here. 
2) I assume your log file is non-empty 

Try running StatSVN with -debug, that might help give you more data on the error. 

Thanks,
---
Jason Kealey - [hidden email]
LavaBlast Franchise Software - http://www.lavablast.com
Simplifying day-to-day franchise operations


On Thu, Sep 3, 2009 at 9:48 AM, Christophe Dupre <[hidden email]> wrote:
Hello all,
trying to use statsvn 0.5 here with subversion 1.6... Since our repos is huge (complete checkout would be more than 50GB due to all kinds of tags and branches), is it possible to make statsvn work on a sparse checkout ? Here's what I did:

svn co --depth immediates https://my.server/svn/repos
cd ibiza
svn up --set-depth immediates .
cd src
svn up --set-depth immediates .
cd trunk
svn up --set-depth infinity .

I then go back to the root of the checkout, and generate the log:

svn log -v --xml > ../log.xml

Then run statsvn:

java -mx1024m -jar ../statsvn.jar -output-dir out -verbose -disable-twitter-button  -cache-dir cache -include "/ibiza/src/trunk/**"  -tags-dir /ibiza/src/tags  -tags ".*" log.xml  ./repos/
Sep 2, 2009 4:50:34 PM net.sf.statsvn.util.JavaUtilTaskLogger info
INFO: StatSVN - SVN statistics generation

Parsing SVN log 'log.xml' exclude pattern '/ibiza/src/trunk/ibiza-soap-ui/**'
Scheduled 0 svn diff calls on 0 threads.
Generating report for  into out/
Using default CSS file (objectlab-statcvs.css)
The repository object is not valid. Please check your settings.
Is the log file empty? Do you run from a checked out directory? Do you have non-committed items?

As you can see, there's something it doesn't like... My previous tries where with a checkout of only the trunk sub-tree, but that didn't give me the tags vertical lines in the LOC graph.

Any help appreciated...


--
Christophe Dupré
Administrateur Unix et Réseau Sénior
Sr Unix and Network Administrator


75, rue Queen, Bureau 5100
Montréal (Québec)
H3C 2N6

Tel. 514 931.4433 poste 3078
Fax 514 931.4818
http://www.accovia.com

ACCOVIA
Membre du Groupe GFI Solutions Inc.



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users