# Sync and build fast code from large repos

**URL:** https://www.finalbuilder.com/forums/t/sync-and-build-fast-code-from-large-repos/2500
**Category:** Discussion
**Created:** [September 22, 2016, 12:10pm UTC](https://www.finalbuilder.com/forums/t/sync-and-build-fast-code-from-large-repos/2500 "2016-09-22T12:10:28Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![rynardald](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/a88e57/32.png) [@rynardald](https://www.finalbuilder.com/forums/u/rynardald)
#### Post date: [September 22, 2016, 12:10pm UTC](https://www.finalbuilder.com/forums/t/sync-and-build-fast-code-from-large-repos/2500/1 "2016-09-22T12:10:28Z")

</div>

Hi,  
I'm starting to work with continua. My problem is now that i have to work with two large svn-repositorys (3 - 6 GB), which are uploaded to my agent-cache. But everytime when I build a stage all data is copied from the agent-cache to agent-workspace and this takes too much time.  
Is there a way to omit this copying from cache to workspace?  
  
My idea was:  
&nbsp; - checkout the repositorys on my agent.  
&nbsp; - save the path to this repo in a system-variable.  
&nbsp; - check on server with a propertycollector if this variable is set on my agent.  
  
and on each build:  
&nbsp; - cleanup the svn-repo on path of this system-variable.  
&nbsp; - update svn-repo to needed revision.  
&nbsp; - work on this local svn-repo instead of the workspace.  
  
My questions are now:  
&nbsp; - Can i do this whit continua?  
&nbsp; - Or is there a options so that the agent works direcly on the cache and not on workspace?  
&nbsp; - Is it a good solution or are there better ones?  
&nbsp; - Where can i get the svn-version (e.g. which triggered the build) to which i have to update my repo on agent

---

<div class="post-metadata">

### Author: ![rynardald](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/r/a88e57/32.png) [@rynardald](https://www.finalbuilder.com/forums/u/rynardald)
#### Post date: [September 22, 2016, 1:16am UTC](https://www.finalbuilder.com/forums/t/sync-and-build-fast-code-from-large-repos/2500/2 "2016-09-22T01:16:45Z")

</div>

sorry wrong forum - moved to ‘ContinuaCI’ forum

---

<div class="post-metadata">

### Author: ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)
#### Post date: [September 28, 2016, 1:21am UTC](https://www.finalbuilder.com/forums/t/sync-and-build-fast-code-from-large-repos/2500/3 "2016-09-28T01:21:21Z")

</div>

Thanks we will deal with it there.
