~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

Merge bzr.dev and tree implementation tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2016
2016
            self._revprops.update(revprops)
2017
2017
 
2018
2018
        if timestamp is None:
2019
 
            self._timestamp = time.time()
2020
 
        else:
2021
 
            self._timestamp = long(timestamp)
 
2019
            timestamp = time.time()
 
2020
        # Restrict resolution to 1ms
 
2021
        self._timestamp = round(timestamp, 3)
2022
2022
 
2023
2023
        if timezone is None:
2024
2024
            self._timezone = local_time_offset()