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

Fix branch nicks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
        self.head = head
117
117
        self.base = bzrdir.transport.base
118
118
 
 
119
    def _get_nick(self, local=False, possible_master_transports=None):
 
120
        """Find the nick name for this branch.
 
121
 
 
122
        :return: Branch nick
 
123
        """
 
124
        return self.name
 
125
 
 
126
    nick = property(_get_nick)
 
127
 
119
128
    def dpull(self, source, stop_revision=None):
120
129
        if stop_revision is None:
121
130
            stop_revision = source.last_revision()
234
243
                return []
235
244
            return [head]
236
245
        interrepo.fetch_objects(determine_wants, self.source.mapping)
 
246
        # FIXME: Check that self._last_revid is a descendant of self.target.last_revision()
237
247
        self.target.generate_revision_history(self._last_revid)
238
248
 
239
249