305
305
).get_user_option_as_bool('dpush_strict')
306
306
if strict is None: strict = True # default value
307
307
if strict and source_wt is not None:
310
309
raise errors.UncommittedChanges(
311
310
source_wt, more='Use --no-strict to force the push.')
312
311
if source_wt.last_revision() != source_wt.branch.last_revision():