13
13
# You should have received a copy of the GNU General Public License
14
14
# along with this program; if not, write to the Free Software
15
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
17
17
"""Test branches with inaccessible parents."""
21
21
from bzrlib import branch, errors
23
22
from bzrlib.tests.http_server import HttpServer
24
24
from bzrlib.transport.local import LocalURLServer
25
25
from bzrlib.transport.chroot import TestingChrootServer
28
28
class InaccessibleParentTests(TestCaseWithBranch):
29
29
"""Tests with branches with "inaccessible" parents.
31
31
An "inaccessible" parent location is one that cannot be represented, e.g. if
32
32
a child branch says its parent is at "../../my-parent", but that child is at
33
33
"http://host/one" then that parent location is inaccessible. These