HTML View load&save
[redakcja.git] / lib / wlrepo / mercurial_backend / document.py
index a579fb7..e714561 100644 (file)
@@ -189,7 +189,7 @@ class MercurialDocument(wlrepo.Document):
                     return False
 
                 if changed:
-                    local = local.latest()
+                    local = self.latest()._revision
                     
                 success, changed = main.merge_with(local, user=user,\
                     message=message)