Merge 0.4.
[jelmer/subvertpy.git] / tests / test_fetch.py
index 65762ab2bedcc11779e0bc195c59169202e74d46..3c80293493285051b91eb824b8fc2bdd931fd051 100644 (file)
@@ -1551,10 +1551,10 @@ Node-copyfrom-path: x
             pass
         editor = ra.get_commit_editor({"svn:log": "msg"}, done, None, False)
         root_baton = editor.open_root(1)
-        baton = editor.open_file("mylink", root_baton, 1)
-        editor.change_file_prop(baton, "svn:special", "*")
-        editor.close_file(baton, None)
-        editor.close_directory(root_baton)
+        baton = root_baton.open_file("mylink", 1)
+        baton.change_prop("svn:special", "*")
+        baton.close()
+        root_baton.close()
         editor.close()
         oldrepos = Repository.open("svn+"+repos_url)
         dir = BzrDir.create("f", format.get_rich_root_format())