/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/conflicts.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 19:09:26 UTC
  • mfrom: (6622.1.36 breezy)
  • Revision ID: jelmer@jelmer.uk-20170521190926-5vtz8xaf0e9ylrpc
Merge rename to breezy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
# along with this program; if not, write to the Free Software
15
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
 
# TODO: 'bzr resolve' should accept a directory name and work from that
 
17
# TODO: 'brz resolve' should accept a directory name and work from that
18
18
# point down
19
19
 
20
20
from __future__ import absolute_import
21
21
 
22
22
import os
23
23
 
24
 
from bzrlib.lazy_import import lazy_import
 
24
from breezy.lazy_import import lazy_import
25
25
lazy_import(globals(), """
26
26
import errno
27
27
 
28
 
from bzrlib import (
 
28
from breezy import (
29
29
    cleanup,
30
30
    errors,
31
31
    osutils,
34
34
    transform,
35
35
    workingtree,
36
36
    )
37
 
from bzrlib.i18n import gettext, ngettext
 
37
from breezy.i18n import gettext, ngettext
38
38
""")
39
 
from bzrlib import (
 
39
from breezy import (
40
40
    commands,
41
41
    option,
42
42
    registry,
58
58
    is supplied, the pathnames of files with text conflicts are listed,
59
59
    instead.  (This is useful for editing all files with text conflicts.)
60
60
 
61
 
    Use bzr resolve when you have fixed a problem.
 
61
    Use brz resolve when you have fixed a problem.
62
62
    """
63
63
    takes_options = [
64
64
            'directory',
108
108
    it will mark a conflict.  A conflict means that you need to fix something,
109
109
    before you can commit.
110
110
 
111
 
    Once you have fixed a problem, use "bzr resolve" to automatically mark
112
 
    text conflicts as fixed, "bzr resolve FILE" to mark a specific conflict as
113
 
    resolved, or "bzr resolve --all" to mark all conflicts as resolved.
 
111
    Once you have fixed a problem, use "brz resolve" to automatically mark
 
112
    text conflicts as fixed, "brz resolve FILE" to mark a specific conflict as
 
113
    resolved, or "brz resolve --all" to mark all conflicts as resolved.
114
114
    """
115
115
    aliases = ['resolved']
116
116
    takes_args = ['file*']
768
768
    format = 'Conflict moving %(path)s into %(conflict_path)s. %(action)s.'
769
769
 
770
770
    def action_take_this(self, tree):
771
 
        # just acccept bzr proposal
 
771
        # just acccept brz proposal
772
772
        pass
773
773
 
774
774
    def action_take_other(self, tree):
822
822
        tree.remove([self.path], force=True, keep_files=False)
823
823
 
824
824
    def action_take_other(self, tree):
825
 
        # just acccept bzr proposal
 
825
        # just acccept brz proposal
826
826
        pass
827
827
 
828
828
 
841
841
    # MissingParent from the *user* pov.
842
842
 
843
843
    def action_take_this(self, tree):
844
 
        # just acccept bzr proposal
 
844
        # just acccept brz proposal
845
845
        pass
846
846
 
847
847
    def action_take_other(self, tree):