~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-07-16 14:02:58 UTC
  • mfrom: (5346.2.3 doc)
  • Revision ID: pqm@pqm.ubuntu.com-20100716140258-js1p8i24w8nodz6t
(mbp) developer docs about transports and symlinks (Martin Pool)

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
    check,
26
26
    chk_map,
27
27
    config,
28
 
    controldir,
29
28
    debug,
30
29
    fetch as _mod_fetch,
31
30
    fifo_cache,
243
242
 
244
243
    def _gen_revision_id(self):
245
244
        """Return new revision-id."""
246
 
        return generate_ids.gen_revision_id(self._committer, self._timestamp)
 
245
        return generate_ids.gen_revision_id(self._config.username(),
 
246
                                            self._timestamp)
247
247
 
248
248
    def _generate_revision_if_needed(self):
249
249
        """Create a revision id if None was supplied.
892
892
# Repositories
893
893
 
894
894
 
895
 
class Repository(_RelockDebugMixin, controldir.ControlComponent):
 
895
class Repository(_RelockDebugMixin, bzrdir.ControlComponent):
896
896
    """Repository holding history for one or more branches.
897
897
 
898
898
    The repository holds and retrieves historical information including