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

  • Committer: Jelmer Vernooij
  • Date: 2009-09-10 13:13:15 UTC
  • mto: (0.200.602 trunk)
  • mto: This revision was merged to the branch mainline in revision 6960.
  • Revision ID: jelmer@samba.org-20090910131315-6890xg58pl2jseml
Allow serving remote URLs.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
    repository,
27
27
    revision,
28
28
    revisiontree,
29
 
    ui,
30
 
    urlutils,
31
29
    )
32
30
from bzrlib.foreign import (
33
31
    ForeignRepository,
34
32
    )
35
 
from bzrlib.trace import (
36
 
    mutter,
37
 
    )
38
 
from bzrlib.transport import (
39
 
    get_transport,
40
 
    )
41
33
 
42
34
from bzrlib.plugins.git.commit import (
43
35
    GitCommitBuilder,
172
164
        :return: Tuple with git revisionid and mapping.
173
165
        """
174
166
        # Yes, this doesn't really work, but good enough as a stub
175
 
        return osutils.sha(rev_id).hexdigest(), self.get_mapping()
 
167
        return osutils.sha(revid).hexdigest(), self.get_mapping()
176
168
 
177
169
    def has_signature_for_revision_id(self, revision_id):
178
170
        return False
267
259
        return "Git Repository"
268
260
 
269
261
    def initialize(self, url, shared=False, _internal=False):
270
 
        raise bzr_errors.UninitializableFormat(self)
 
262
        raise errors.UninitializableFormat(self)
271
263
 
272
264
    def check_conversion_target(self, target_repo_format):
273
265
        return target_repo_format.rich_root_data