[MERGE] Add a ForeignRepository base class
Jelmer Vernooij
jelmer at vernstok.nl
Fri Dec 5 03:26:05 GMT 2008
This patch adds a very simple ForeignRepository class that just adds
some stubs and convenience implementations for a few bzr-specific
things for now.
This code is currently already used in both bzr-svn and bzr-git, but it
would be nice to have in bzrlib to avoid code duplication and to allow
improved errors for users of foreign branches.
For example, it would be nice to be able to tell users when they are
pulling from a branch with a newer mapping than was used for
the revisions they have locally instead of giving them a generic
DivergedBranches error like we do now.
Cheers,
Jelmer
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bzr-dev-3879.patch
Type: text/x-diff
Size: 4972 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20081205/8c1a5e1c/attachment.bin
More information about the bazaar
mailing list