fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e196067
)
Hmm..
author
Łukasz Rekucki
<lrekucki@gmail.com>
Fri, 2 Oct 2009 09:03:16 +0000
(11:03 +0200)
committer
Łukasz Rekucki
<lrekucki@gmail.com>
Fri, 2 Oct 2009 09:03:16 +0000
(11:03 +0200)
lib/wlrepo/mercurial_backend/library.py
patch
|
blob
|
history
diff --git
a/lib/wlrepo/mercurial_backend/library.py
b/lib/wlrepo/mercurial_backend/library.py
index
042fda2
..
e28bd7e
100644
(file)
--- 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 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
rev = self.get_revision(revision)
else:
rev = revision