Commits

Radomir Dopieralski  committed a4560f3

added readme

  • Participants
  • Parent commits 2f5f496

Comments (0)

Files changed (2)

+This is a simple library that lets you store versioned strings in a Mercurial
+repository. It should be suitable for use in Mercurial-based web applications
+such as wiki engines.

File hgstorage.py

 #!/usr/bin/env python
 # -*- coding: utf-8 -*-
 
+"""
+A persistent, versioned, string storage based on a Mercurial repository.
+"""
+
 import os
 import thread
 import urllib
 import datetime
 import weakref
 
+# This needs to be defined before importing Mercurial
 os.environ['HGENCODING'] = 'utf8'
-os.environ['HGMERGE'] = "internal:merge"
 
 import mercurial.hg
 import mercurial.ui