~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/conflicts.py

  • Committer: Jelmer Vernooij
  • Date: 2005-10-19 09:34:39 UTC
  • mfrom: (1185.16.78)
  • mto: (1185.16.102)
  • mto: This revision was merged to the branch mainline in revision 1488.
  • Revision ID: jelmer@samba.org-20051019093439-e1d8e3508d1ba46b
MergeĀ fromĀ Martin

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
    files.)
38
38
    """
39
39
    def run(self):
40
 
        for path in Branch.open_containing('.').working_tree().iter_conflicts():
 
40
        for path in Branch.open_containing('.')[0].working_tree().iter_conflicts():
41
41
            print path
42
42
 
43
43
class cmd_resolve(bzrlib.commands.Command):
50
50
            if not all:
51
51
                raise BzrCommandError(
52
52
                    "command 'resolve' needs one or more FILE, or --all")
53
 
            tree = Branch.open_containing('.').working_tree()
 
53
            tree = Branch.open_containing('.')[0].working_tree()
54
54
            file_list = list(tree.abspath(f) for f in tree.iter_conflicts())
55
55
        else:
56
56
            if all: