X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/05dbee77e04a759128a17cb988cb94732490f641..36387dac2e103ca656be9dc65fabb936f80191d1:/lib/wlrepo/mercurial_backend/document.py?ds=sidebyside diff --git a/lib/wlrepo/mercurial_backend/document.py b/lib/wlrepo/mercurial_backend/document.py index d1c3e53d..a8f7adc3 100644 --- a/lib/wlrepo/mercurial_backend/document.py +++ b/lib/wlrepo/mercurial_backend/document.py @@ -161,6 +161,9 @@ class MercurialDocument(wlrepo.Document): if not local.parentof(main): success, changed = main.merge_with(local, user=user, message=message) + success = True + changed = False + # Case 3: # main * # | @@ -180,6 +183,9 @@ class MercurialDocument(wlrepo.Document): if not local.parentof(main): success, changed = local.merge_with(main, user=user, \ message='$AUTO$ Local branch update during share.') + + success = True + changed = False else: print "case 4"