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

ImportĀ RemoteGitBranch._get_config().

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
import bzrlib
18
18
from bzrlib import (
 
19
    config,
19
20
    tag,
20
21
    trace,
21
22
    ui,
296
297
    def last_revision(self):
297
298
        return self.mapping.revision_id_foreign_to_bzr(self.head)
298
299
 
 
300
    def _get_config(self):
 
301
        class EmptyConfig(object):
 
302
 
 
303
            def _get_configobj(self):
 
304
                return config.ConfigObj()
 
305
 
 
306
        return EmptyConfig()
 
307
 
299
308
    @property
300
309
    def head(self):
301
310
        if self._ref is not None: