-
Committer:
Vincent Ladeuil
-
Date:
2010-04-12 16:54:35 UTC
-
mto:
(5148.1.1 integration)
-
mto:
This revision was merged to the branch mainline in
revision
5151.
-
Revision ID:
v.ladeuil+lp@free.fr-20100412165435-gzdnwuybj9rvddiz
Fix bug #519319 by defaulting to a warning for dirty trees.
*Â bzrlib/mutabletree.py:
(MutableTree.warn_if_changed_or_out_of_date): Factor out the
checks done by send, push and dpush.
*Â bzrlib/send.py:
(send): Use warn_if_changed_or_out_of_date().
*Â bzrlib/foreign.py:
(cmd_dpush.run): Use warn_if_changed_or_out_of_date().
*Â bzrlib/builtins.py:
(cmd_push.run): Use warn_if_changed_or_out_of_date().