Source

rope_py3k / ropetest / historytest.py

Diff from to

File ropetest/historytest.py

         history = rope.base.history.History(self.project)
         myfile = self.project.get_file('myfile.txt')
         history.do(CreateResource(myfile))
-        history.sync()
+        history.write()
 
         history = rope.base.history.History(self.project)
         history.undo()
         myfile = self.project.get_file('myfile.txt')
         history.do(CreateResource(myfile))
         history.undo()
-        history.sync()
+        history.write()
 
         history = rope.base.history.History(self.project)
         history.redo()