From: Ɓukasz Rekucki Date: Fri, 2 Oct 2009 11:07:55 +0000 (+0200) Subject: Oops X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/d71151c7bc15f05d4ca58151adf3c78883f4206d Oops --- diff --git a/lib/wlrepo/mercurial_backend/library.py b/lib/wlrepo/mercurial_backend/library.py index 8c57f038..ebb38d88 100644 --- a/lib/wlrepo/mercurial_backend/library.py +++ b/lib/wlrepo/mercurial_backend/library.py @@ -105,7 +105,7 @@ class MercurialLibrary(wlrepo.Library): # WHY DO ALL THE OTHER METHODS SIMPLY # FAIL WHEN GIVEN UNICODE, WHEN THIS WORKS ONLY!! WITH IT - ctx = self._changectx( revid.decode('utf-8') ) + ctx = self._changectx( revid ) except mercurial.error.RepoError, e: raise wlrepo.RevisionNotFound(revid)