/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 processor.py

checkpoint and count params to generic processor

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
            (self.working_tree, self.branch) = bzrdir._get_tree_branch()
51
51
            self.repo = self.branch.repository
52
52
 
 
53
        # Handlers can set this to request exiting cleanly without
 
54
        # iterating through the remaining commands
 
55
        self.finished = False
 
56
 
53
57
    def validate_parameters(self):
54
58
        """Validate that the parameters are correctly specified."""
55
59
        for p in self.params:
84
88
                self.pre_handler(cmd)
85
89
                handler(self, cmd)
86
90
                self.post_handler(cmd)
 
91
            if self.finished:
 
92
                break
87
93
        self.post_process()
88
94
 
89
95
    def pre_process(self):