<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -38,8 +38,8 @@
 
 (defn -main
   ([rooms-dir port]
-     (load-rooms rooms-dir)
+     (set-rooms rooms-dir)
      (defonce server (create-server (Integer. port) mire-handle-client))
      (println &quot;Launching Mire server on port&quot; port))
   ([rooms-dir] (-main rooms-dir 3333))
-  ([] (-main &quot;data/rooms&quot;)))
+  ([] (-main &quot;data/rooms&quot;)))
\ No newline at end of file</diff>
      <filename>src/mire/server.clj</filename>
    </modified>
    <modified>
      <diff>@@ -2,11 +2,10 @@
   (:use [mire commands player rooms] :reload-all)
   (:use [clojure.contrib test-is seq-utils duck-streams]))
 
-(def rooms-dir &quot;data/rooms/&quot;)
+(set-rooms &quot;data/rooms/&quot;)
 
 (defmacro def-command-test [name &amp; body]
   `(deftest ~name
-     (load-rooms rooms-dir)
      (binding [*current-room* (ref (:start rooms))
                *inventory* (ref #{})
                *player-name* &quot;Tester&quot;]</diff>
      <filename>src/mire/test/commands.clj</filename>
    </modified>
    <modified>
      <diff>@@ -2,18 +2,18 @@
   (:use [mire player rooms] :reload-all)
   (:use [clojure.contrib test-is seq-utils]))
 
-(deftest test-load-rooms
-  (load-rooms &quot;data/rooms/&quot;)
-  (doseq [name [:start :closet :hallway :promenade]]
-    (is (contains? rooms name)))
-  (is (re-find #&quot;promenade&quot; (:desc (:promenade rooms))))
-  (is (= :hallway (:west @(:exits (:promenade rooms)))))
-  (is (includes? @(:items (:promenade rooms)) :bunny))
-  (is (empty? @(:inhabitants (:promenade rooms)))))
+(deftest test-set-rooms
+  (let [rooms (load-rooms &quot;data/rooms/&quot;)]
+    (doseq [name [:start :closet :hallway :promenade]]
+      (is (contains? rooms name)))
+    (is (re-find #&quot;promenade&quot; (:desc (:promenade rooms))))
+    (is (= :hallway (:west @(:exits (:promenade rooms)))))
+    (is (includes? @(:items (:promenade rooms)) :bunny))
+    (is (empty? @(:inhabitants (:promenade rooms))))))
 
 (deftest test-room-contains?
-  (load-rooms &quot;data/rooms/&quot;)
-  (let [closet (:closet rooms)]
+  (let [rooms (load-rooms &quot;data/rooms/&quot;)
+        closet (:closet rooms)]
     (is (not (empty? (filter #(= % :keys) @(:items closet)))))
     (is (room-contains? closet &quot;keys&quot;))
     (is (not (room-contains? closet &quot;monkey&quot;)))))</diff>
      <filename>src/mire/test/rooms.clj</filename>
    </modified>
    <modified>
      <diff>@@ -3,5 +3,5 @@
 (defn move-between-refs
   &quot;Move one instance of obj between from and to. Must be called in a transaction.&quot;
   [obj from to]
-  (commute from disj obj)
-  (commute to conj obj))
\ No newline at end of file
+  (alter from disj obj)
+  (alter to conj obj))
\ No newline at end of file</diff>
      <filename>src/mire/util.clj</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>cfad91fae6233a89fe040e26c069564b6c917561</id>
    </parent>
    <parent>
      <id>858f5fb16405c7e8838a915c2154a80382a052af</id>
    </parent>
  </parents>
  <author>
    <name>Phil Hagelberg</name>
    <email>technomancy@gmail.com</email>
  </author>
  <url>http://github.com/technomancy/mire/commit/910d02c5d616672f46430625874cf7a68ed46eb2</url>
  <id>910d02c5d616672f46430625874cf7a68ed46eb2</id>
  <committed-date>2009-04-17T11:53:53-07:00</committed-date>
  <authored-date>2009-04-17T11:53:53-07:00</authored-date>
  <message>Merge branch '12-packaging'

Unfortunately with the way I'm using branches sequentially, it means a
change to any branch cascades down in merges to all branches after
it. Sorry for the noise, but it seems to be the only way to keep
things consistent.</message>
  <tree>dbc1413244b20cf6a87e40e5f1554a47959516fe</tree>
  <committer>
    <name>Phil Hagelberg</name>
    <email>technomancy@gmail.com</email>
  </committer>
</commit>
