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