Style diffa.
[redakcja.git] / lib / wlrepo / mercurial_backend / library.py
index 5535a88..5e9b06e 100755 (executable)
@@ -137,6 +137,8 @@ class MercurialLibrary(wlrepo.Library):
         return fulldocid
 
     def has_revision(self, revid):
+        revid = self._sanitize_string(revid)
+        
         try:
             self._hgrepo[revid]
             return True