if not local.parentof(main):
success, changed = local.merge_with(main, user=user, \
message='$AUTO$ Local branch update during share.')
if not local.parentof(main):
success, changed = local.merge_with(main, user=user, \
message='$AUTO$ Local branch update during share.')