/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 processors/info_processor.py

fix head tracking when from clause implied

Show diffs side-by-side

added added

removed removed

Lines of Context:
190
190
                    else:
191
191
                        self.sha_blob_references = True
192
192
        # Track the heads
193
 
        if cmd.mark is None:
 
193
        if cmd.parents:
 
194
            parents = cmd.parents
 
195
        else:
194
196
            last_id = self.last_ids.get(cmd.ref)
195
197
            if last_id is not None:
196
198
                parents = [last_id]
197
199
            else:
198
200
                parents = []
199
 
        else:
200
 
            parents = cmd.parents
201
201
        for parent in parents:
202
202
            try:
203
203
                del self.heads[parent]