bzr pull URL --remember fails if the stored path is bad

Bug #369619 reported by Robert Collins
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Medium
Unassigned

Bug Description

with an explicit URL we really shouldn't even consider the original url.

push$ bzr pull /foo/bar -Derror
bzr: ERROR: bzrlib.errors.InaccessibleParent: Parent not accessible
given base "file:///opt/tmp/push/" and relative path
"../../../../foo/bar/"

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 857,
in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 797,
in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 499,
in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 638,
in run
    stored_loc = branch_to.get_parent()
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 1861,
in get_parent
    raise errors.InaccessibleParent(parent, self.base)
InaccessibleParent: Parent not accessible given base
"file:///opt/tmp/push/" and relative path "../../../../foo/bar/"

 affects bzr
 importance medium
 status confirmed

Jelmer Vernooij (jelmer)
tags: added: pull
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.