Poprawienie bledu w RAL->Revision->parent()
authorLukasz <lreqc@debian.(none)>
Mon, 26 Oct 2009 09:58:22 +0000 (05:58 -0400)
committerLukasz <lreqc@debian.(none)>
Mon, 26 Oct 2009 09:58:22 +0000 (05:58 -0400)
lib/wlrepo/mercurial_backend/revision.py

index 5b1b820..5bb3d0f 100755 (executable)
@@ -105,7 +105,7 @@ class MercurialRevision(wlrepo.Revision):
         if len(parents) == 1:
             return self._library._revision(parents[0])
         
         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]) 
             return self._library._revision(parents[0])
         else:
             return self._library._revision(parents[1])