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

  • Committer: Jelmer Vernooij
  • Date: 2011-04-12 03:52:17 UTC
  • mto: (0.200.1183 trunk)
  • mto: This revision was merged to the branch mainline in revision 6960.
  • Revision ID: jelmer@samba.org-20110412035217-nmy2rvwentqs2iac
Fix dpush for certain branches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
204
204
            with Git SHA, Bazaar revid as values.
205
205
        """
206
206
        bzr_refs = {}
207
 
        refs = self.target._git.get_refs()
208
 
        for k, v in refs.iteritems():
 
207
        refs = {}
 
208
        for k in self.target._git.refs.allkeys():
 
209
            v = self.target._git.refs.read_ref(k)
209
210
            try:
210
211
                for (kind, type_data) in self.source_store.lookup_git_sha(v):
211
212
                    if kind == "commit" and self.source.has_revision(type_data[0]):