~bzr-pqm/bzr/bzr.dev

Viewing all changes in revision 4297.4.5.

  • Committer: Martin von Gagern
  • Date: 2009-04-23 14:20:08 UTC
  • mto: (4338.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4339.
  • Revision ID: martin.vgagern@gmx.net-20090423142008-89nz0k1qazr3is7s
Use repository format from exactly the same repository we want to fetch from.
                                                     
Simply looking for all occurrences of repo.fetch() in this apply method
shows that there are only two possible source repositories, one from
local_branch and one from referenced_branch.  If we will later fetch from
either of these, we also use the corresponding format.  If not, we fall back
to default format.  I don't know if this ever happens.  The code is pretty
verbose, making it easy to replace parts of the logic and keep other parts.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: