← Back to team overview

launchpad-doc team mailing list archive

[Bug 244257] [NEW] invalid example in EasyBranching page

 

Public bug reported:

I am new to Bazaar and while reading basic documentation I've got a
stacktrace when running an example from
https://help.launchpad.net/FeatureHighlights/EasyBranching that
instructs to use the following command to create GNU Hello branch.

bzr branch http://launchpad.net/gnuhello


It results in the following error.


bzr: ERROR: bzrlib.errors.PathNotChild: Path "http://launchpad.net/gnuhello/.bzr/branch-format"; is not a child of path "nosmart+http://launchpad.net/gnuhello/";

Traceback (most recent call last):
  File "bzrlib\commands.pyc", line 846, in run_bzr_catch_errors
  File "bzrlib\commands.pyc", line 797, in run_bzr
  File "bzrlib\commands.pyc", line 499, in run_argv_aliases
  File "bzrlib\builtins.pyc", line 916, in run
  File "bzrlib\bzrdir.pyc", line 789, in open_tree_or_branch
  File "bzrlib\bzrdir.pyc", line 667, in open
  File "bzrlib\bzrdir.pyc", line 704, in open_from_transport
  File "bzrlib\lazy_import.pyc", line 125, in __call__
  File "bzrlib\transport\__init__.pyc", line 1620, in do_catching_redirections
  File "bzrlib\bzrdir.pyc", line 685, in redirected
  File "bzrlib\transport\__init__.pyc", line 494, in relpath
PathNotChild: Path "http://launchpad.net/gnuhello/.bzr/branch-format"; is not a child of path "nosmart+http://launchpad.net/gnuhello/";

bzr 1.5 on python 2.5.2 (win32)
arguments: ['bzr', 'branch', 'nosmart+http://launchpad.net/gnuhello']
encoding: 'cp1251', fsenc: 'mbcs', lang: 'C'
plugins:
  launchpad            C:\Tools\VCS\Bazaar\plugins\launchpad [unknown]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.


What makes me feel that docs are wrong is that "bzr branch nosmart+http://bazaar-vcs.org/bzr/bzr.dev"; command works as expected.

** Affects: launchpad-documentation
     Importance: Undecided
         Status: New

-- 
invalid example in EasyBranching page
https://bugs.launchpad.net/bugs/244257
You received this bug notification because you are a member of Launchpad
Documentation Team, which is subscribed to Launchpad Documentation.



Follow ups

References