                 traceback()
 
     copy      = (s) ->
-        console.log("copying: ", s.doc)
         return new Doc(s.doc)
-    diff      = (v0,v1)  -> console.log(v0, v0.doc, v1, v1.doc); return dmp.patch_make(v0.doc, v1.doc)
+
+    diff      = (v0,v1)  ->
+        return dmp.patch_make(v0.doc, v1.doc)
+
     patch     = (d, doc) -> new Doc(dmp.patch_apply(d, doc.doc)[0])
     checksum  = (s) -> s.doc.length + 3    # +3 for luck
     patch_in_place = (d, s) -> s.doc = dmp.patch_apply(d, s.doc)[0]  # modifies s.doc inside object

            console.log(misc.to_json(server.status()))
        test0(client, server)

exports.test6 = (n=1) ->
    #
    # Make the documents a mutable version of strings (defined via a class) instead.
    #

    if not Doc_equal?
        Doc_equal = (s,t) -> s==t
    if not Doc_str?
        Doc_str = (s) -> s

    status = () ->
        #console.log("------------------------")
