From a695f4ce2259e5758e56f36727ef0e0507b58f81 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=81ukasz=20Rekucki?= Date: Fri, 2 Oct 2009 11:03:16 +0200 Subject: [PATCH 1/1] Hmm.. --- lib/wlrepo/mercurial_backend/library.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/wlrepo/mercurial_backend/library.py b/lib/wlrepo/mercurial_backend/library.py index 042fda29..e28bd7ee 100644 --- a/lib/wlrepo/mercurial_backend/library.py +++ b/lib/wlrepo/mercurial_backend/library.py @@ -81,8 +81,7 @@ class MercurialLibrary(wlrepo.Library): if revision is None: raise ValueError("Revision can't be None.") - if not isinstance(revision, MercurialRevision): - revision = self._sanitize_string(unicode(revision)) + if not isinstance(revision, MercurialRevision): rev = self.get_revision(revision) else: rev = revision -- 2.20.1