# Confusion over creating branch aware repository

**URL:** <https://www.finalbuilder.com/forums/t/confusion-over-creating-branch-aware-repository/5460>\
**Category:** Discussion\
**Created:** [March 4, 2016, 7:57am UTC](https://www.finalbuilder.com/forums/t/confusion-over-creating-branch-aware-repository/5460 "2016-03-04T07:57:10Z")\
**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:** [March 4, 2016, 7:57am UTC](https://www.finalbuilder.com/forums/t/confusion-over-creating-branch-aware-repository/5460/1 "2016-03-04T07:57:10Z")

</div>

Hi,  
  
Using&nbsp;Continua 1.7.1.163.  
  
I’m attempting to setup a branch aware repository for our ‘/branches/hotfixes/’ folder (subversion). The folders are structured as so:  
  
/newlook/trunk/  
/newlook/branches/  
/newlook/branches/10.x.x/  
/newlook/branches/hotfixes/  
/newlook/branches/hotfixes/10.x.x-Issue1223/  
/newlook/branches/hotfixes/10.x.x-Issue3133/  
  
I’ve attached a screenshot with the error I get when I specify ‘/hotfxies/[^/]+/’ for the ‘Branch Pattern’.  
  
Oddly, if I specify ‘/newlook/branches/hotfixes’ for the ‘Branchs Path’ and ‘/[^/]+/’ as the ‘Branch Pattern’ then it works!?  
  
What would be the recommended values for this?

 ![__37200__ 0__Screenshot 2016-03-04 17.49.25.png](https://www.finalbuilder.com/forums/uploads/default/original/2X/9/99e1590f7b61dbd43abd384a544e035cfee8effd.png)

---

<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:** [March 5, 2016, 4:05am UTC](https://www.finalbuilder.com/forums/t/confusion-over-creating-branch-aware-repository/5460/2 "2016-03-05T04:05:25Z")

</div>

Hi Simon,  
  
You need to clear the checkbox that says “match branch pattern against top–level folders only”. When this is ticked Continua CI does not recurse the full folder tree looking for pattern matches.

---

<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:** [March 9, 2016, 5:33am UTC](https://www.finalbuilder.com/forums/t/confusion-over-creating-branch-aware-repository/5460/3 "2016-03-09T05:33:09Z")

</div>

Ahh, that makes sense. Thanks!
