branch fails with "bzr: ERROR: The branch ... has no revision None."

Bug #376287 reported by Tim Penhey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
High
Unassigned

Bug Description

I have a brisbane-core branch of launchpad which I wanted to branch into a fresh repository.
The branch command fails.

$ bzr init-repo --no-trees --development-rich-root lp-bbc
Shared repository (format: development6-rich-root)
Location:
  shared repository: lp-bbc
$ cd lp-bbc
$ time bzr branch ../lp-bbc-pre-reconciled/devel/
bzr: ERROR: The branch ../lp-bbc-pre-reconciled/devel/ has no revision None.

real 0m31.709s
user 0m31.378s
sys 0m0.288s
$ bzr info ../lp-bbc-pre-reconciled/devel/
Repository branch (format: unnamed)
Location:
  shared repository: /home/tim/repo/canonical/lp-bbc-pre-reconciled
  repository branch: /home/tim/repo/canonical/lp-bbc-pre-reconciled/devel

Martin Pool (mbp)
Changed in bzr:
importance: Undecided → High
milestone: none → 2.0
Revision history for this message
Tim Penhey (thumper) wrote :

Thu 2009-05-14 13:17:27 +1200
0.023 bzr arguments: [u'branch', u'../lp-bbc-pre-reconciled/devel/']
0.042 looking for plugins in /home/tim/.bazaar/plugins
0.142 looking for plugins in /usr/lib/python2.6/dist-packages/bzrlib/plugins
0.150 encoding stdout as sys.stdout encoding 'UTF-8'
0.185 Using fetch logic to copy between CHKInventoryRepository('file:///home/tim/repo/canonical/lp-bbc-pre-reconciled/.bzr/repository/')(<RepositoryFormatCHK1>) and CHKInventoryRepository('file:///home/tim/repo/canonical/lp-bbc/.bzr/repository/')(<RepositoryFormatCHK1>)
0.185 fetch up to rev {<email address hidden>}
24.981 creating new compressed block on-the-fly in 0.003s 247094 bytes => 5067 bytes
24.983 creating new compressed block on-the-fly in 0.000s 245524 bytes => 1088 bytes
25.577 stripping trailing bytes from groupcompress block 2383124 => 1736
25.652 creating new compressed block on-the-fly in 0.072s 208161 bytes => 76018 bytes
25.677 creating new compressed block on-the-fly in 0.001s 2383124 bytes => 1200 bytes
25.677 creating new compressed block on-the-fly in 0.000s 208161 bytes => 267 bytes
31.387 Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 729, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 924, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 560, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 1149, in run
    raise errors.BzrCommandError(msg)
BzrCommandError: The branch ../lp-bbc-pre-reconciled/devel/ has no revision None.

31.387 return code 3

Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 376287] [NEW] branch fails with "bzr: ERROR: The branch ... has no revision None."

On Thu, 2009-05-14 at 01:16 +0000, Tim Penhey wrote:
> Public bug reported:
>
> I have a brisbane-core branch of launchpad which I wanted to branch into a fresh repository.
> The branch command fails.

This may be a dupe. Please try
'bzr push /tmp/newpath'

-Rob

Revision history for this message
Tim Penhey (thumper) wrote :

$ bzr push /tmp/other-path
bzr: ERROR: Revision {('Arch-1:<email address hidden>%launchpad--devel--0--patch-154',)} not present in "<bzrlib.groupcompress.GroupCompressVersionedFiles object at 0x9df7bac>".

Revision history for this message
Tim Penhey (thumper) wrote :

A ghost perhaps?

Could this be related to the 2485 revisions missing parents in ancestry after `bzr reconcile`?

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.