Anonymous avatar Anonymous committed 6a10026

Using pickle protocol 2 for history

Comments (0)

Files changed (3)

docs/dev/issues.txt

 Unresolved Issues
 =================
 
-* changing the default value of max_history_items
 * not applying all commenting mechanisms always in codeassist
 * fixing tries before current line in code_assist
 * searching all files when extracting a global method?
 * switching to GPLv3?
 * removing unused refactorings?
 * unignored files that are not under version control
-* removing unused objectdbs?
 * multiple ropes on one project; problems for objectdb and history
 * should `rope.base` be thread safe?
 * inline fails when there is an arg mismatch
 ===========
 
 
+- Deprecated objectdb_type project config : December 23, 2007
+
+
 - Added compress_history and compress_objectdb configs : December 22, 2007
 
 

rope/base/history.py

             output_file = self.opener(self.history_file.real_path, 'w')
             to_data = change.ChangeToData()
             pickle.dump([to_data(change_) for change_ in self.undo_list],
-                        output_file)
+                        output_file, 2)
             pickle.dump([to_data(change_) for change_ in self.redo_list],
-                        output_file)
+                        output_file, 2)
             output_file.close()
 
     def get_file_undo_list(self, resource):
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.