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

timestamp loaded commit messages

Show diffs side-by-side

added added

removed removed

Lines of Context:
123
123
                self.cache_mgr.revision_ids[":" + cmd.mark] = rev_id
124
124
            self.cache_mgr.last_revision_ids[self.active_branch] = rev_id
125
125
            self._revision_count += 1
126
 
            note("loaded commit %d (%s)" % 
127
 
                (self._revision_count, cmd.mark or cmd.ref))
 
126
            note("%s loaded commit %d (%s)" % (self._time_of_day(),
 
127
                self._revision_count, cmd.mark or cmd.ref))
128
128
        except:
129
129
            self.repo.abort_write_group()
130
130
            raise
140
140
    def _time_of_day(self):
141
141
        """Time of day as a string."""
142
142
        # Note: this is a separate method so tests can patch in a fixed value
143
 
        return time.localtime().strftime("%H:%M:%s")
 
143
        return time.strftime("%H:%M:%S")
144
144
 
145
145
    def reset_handler(self, cmd):
146
146
        """Process a ResetCommand."""