From: Lukasz Date: Mon, 26 Oct 2009 09:58:22 +0000 (-0400) Subject: Poprawienie bledu w RAL->Revision->parent() X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/fd232e38a8f0238e084f6ed4e443d02cd3191560?ds=sidebyside;hp=91a84926407f9f10739b2423c449bc98a57ea424 Poprawienie bledu w RAL->Revision->parent() --- diff --git a/lib/wlrepo/mercurial_backend/revision.py b/lib/wlrepo/mercurial_backend/revision.py index 5b1b820a..5bb3d0f1 100755 --- a/lib/wlrepo/mercurial_backend/revision.py +++ b/lib/wlrepo/mercurial_backend/revision.py @@ -105,7 +105,7 @@ class MercurialRevision(wlrepo.Revision): if len(parents) == 1: return self._library._revision(parents[0]) - if parents[0].branch() == self.branch(): + if parents[0].branch() == self.hgbranch(): return self._library._revision(parents[0]) else: return self._library._revision(parents[1])