/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 brzlib/conflicts.py

  • Committer: Jelmer Vernooij
  • Date: 2017-05-21 14:47:52 UTC
  • mto: This revision was merged to the branch mainline in revision 6623.
  • Revision ID: jelmer@jelmer.uk-20170521144752-8o6jt0a6xat9g7lm
More renames; commands in output, environment variables.

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
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):