# Error on building cloned configuration

**URL:** https://www.finalbuilder.com/forums/t/error-on-building-cloned-configuration/5440
**Category:** Discussion
**Created:** [December 7, 2015, 5:33am UTC](https://www.finalbuilder.com/forums/t/error-on-building-cloned-configuration/5440 "2015-12-07T05:33:37Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![karmasponge](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/k/4491bb/32.png) [@karmasponge](https://www.finalbuilder.com/forums/u/karmasponge)
#### Post date: [December 7, 2015, 5:33am UTC](https://www.finalbuilder.com/forums/t/error-on-building-cloned-configuration/5440/1 "2015-12-07T05:33:37Z")

</div>

I have cloned a configuration for a new branch with a new repository configuration and are seeing an error every time I attempt to build:  
  
Repository Syncing  
2:50:54 PM Using UNC Transport.  
2:50:54 PM No Repositories synced.  
2:50:54 PM An error occurred while syncing files from the server to the agent. Details: An error occurred while parsing start of repository rule pattern ‘$Source.10-1-x$’. Details: The expression [$Source.10-1-x$] contains errors: Unknown object : 10-1-x.  
  
The branch it should be using is called 10.2.x. I’ve checked the repository configuration and cannot see any remaining references to 10.1.x.  
  
Would you be able to help me locate the configuration section i’ve overlooked?  
  
Using Continua&nbsp;1.7.1.84  
  
Simon. K

---

<div class="post-metadata">

### Author: ![Sparky](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/sparky/32/10_2.png) [@Sparky](https://www.finalbuilder.com/forums/u/Sparky)
#### Post date: [December 7, 2015, 6:49am UTC](https://www.finalbuilder.com/forums/t/error-on-building-cloned-configuration/5440/2 "2015-12-07T06:49:49Z")

</div>

Hi Simon,  
  
Check the repository rules tab in the Stage Options. You should see&nbsp;$Source.10-1-x$. I suspect that you have removed a repository named “10-1-x” from the configuration but not removed the reference to it in the repository rules.&nbsp;

---

<div class="post-metadata">

### Author: ![karmasponge](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/k/4491bb/32.png) [@karmasponge](https://www.finalbuilder.com/forums/u/karmasponge)
#### Post date: [December 8, 2015, 1:41am UTC](https://www.finalbuilder.com/forums/t/error-on-building-cloned-configuration/5440/3 "2015-12-08T01:41:20Z")

</div>

Thanks Dave,   
  
 That was it.   
  
 It’s been a while and I totally forgot those options existed.
