<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -27,6 +27,19 @@ describe &quot;Adding a mirror in a clean repository&quot; do
       output.length.should == 2
       output[0].should =~ &quot;Add mirror 'skit1/'&quot;
     end
+
+    it &quot;should create .braids and add the mirror to it&quot; do
+      in_dir(@shiny) do
+        `braid add --type git #{@skit1}`
+      end
+
+      braids = YAML::load_file(&quot;#{@shiny}/.braids&quot;)
+      braids[&quot;skit1&quot;][&quot;squashed&quot;].should == true
+      braids[&quot;skit1&quot;][&quot;url&quot;].should == @skit1
+      braids[&quot;skit1&quot;][&quot;type&quot;].should == &quot;git&quot;
+      braids[&quot;skit1&quot;][&quot;branch&quot;].should == &quot;master&quot;
+      braids[&quot;skit1&quot;][&quot;remote&quot;].should == &quot;braid/git/skit1/master&quot;
+    end
   end
 
   describe &quot;from an svn repository&quot; do
@@ -48,9 +61,20 @@ describe &quot;Adding a mirror in a clean repository&quot; do
       output.length.should == 2
       output[0].should =~ &quot;Add mirror 'skit1/'&quot;
     end
-  end
 
+    it &quot;should create .braids and add the mirror to it&quot; do
+      in_dir(@shiny) do
+        `braid add --type svn #{@skit1}`
+      end
 
+      braids = YAML::load_file(&quot;#{@shiny}/.braids&quot;)
+      braids[&quot;skit1&quot;][&quot;squashed&quot;].should == true
+      braids[&quot;skit1&quot;][&quot;url&quot;].should == @skit1
+      braids[&quot;skit1&quot;][&quot;type&quot;].should == &quot;svn&quot;
+      braids[&quot;skit1&quot;][&quot;revision&quot;].should == 1
+      braids[&quot;skit1&quot;][&quot;remote&quot;].should == &quot;braid/svn/skit1&quot;
+    end
+  end
 
 end
 </diff>
      <filename>test/integration/adding_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>0d77e1e840c851b114595f5de968f92c82f7b3e1</id>
    </parent>
  </parents>
  <author>
    <name>Cristi Balan</name>
    <email>evil@che.lu</email>
  </author>
  <url>http://github.com/evilchelu/braid/commit/a359f16a7ec6705bf5f1fe0cb138ea3d9d3f998c</url>
  <id>a359f16a7ec6705bf5f1fe0cb138ea3d9d3f998c</id>
  <committed-date>2008-08-19T11:06:47-07:00</committed-date>
  <authored-date>2008-07-20T20:45:39-07:00</authored-date>
  <message>add tests for .braids change when adding</message>
  <tree>e3441434e483a523ff3d1276c68ea45ecca55c9d</tree>
  <committer>
    <name>Cristi Balan</name>
    <email>evil@che.lu</email>
  </committer>
</commit>
