1. TortoiseHg
  2. TortoiseHg
  3. thg


Steve Borho  committed 82dbf1e

shlib: force use of dumbdbm for shelve db operations

This is just a shot-in-the-dark workaround for issue #50.
I'm guessing bsddbm is barfing on non-ASCII file names on
Windows and that the pure python implementation will be more
robust. We don't care much about performance here, as these
files are tiny.

  • Participants
  • Parent commits fd9dd79
  • Branches default

Comments (0)

Files changed (1)

File hggtk/shlib.py

View file
  • Ignore whitespace
+import dumbdbm, anydbm
+anydbm._defaultmod = dumbdbm
 import os
 import gtk
 import shelve