Bzr 1.7 Windows issues - seen before?

Doug Lee dgl at dlee.org
Wed Oct 1 17:07:53 BST 2008


> 2.  Several attempts to bzr svn-import from a local svn branch failed,

Pilot error:  I got used to branching in Bazaar from another Bazaar
checkout, and I tried to svn-import from an svn checkout.

In case of interest though:  The traceback happens if you do that and
the svn checkout happens to contain a Bazaar checkout also:

c>bzr svn-import sk3 sk3v
(sk3 has .svn and .bzr; sk3v doesn't exist yet; no .svn or .bzr in curdir)
bzr: ERROR: exceptions.AttributeError: 'KnitPackRepository' object has no attribute 'get_latest_revnum'
Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 857, in run_bzr_catch_errors
  File "bzrlib\commands.pyo", line 797, in run_bzr
  File "bzrlib\commands.pyo", line 499, in run_argv_aliases
  File "bzrlib\commands.pyo", line 818, in ignore_pipe
  File "C:/Program Files/Bazaar/plugins\svn\__init__.py", line 274, in run
AttributeError: 'KnitPackRepository' object has no attribute 'get_latest_revnum'

bzr 1.7 on python 2.5.2 (win32)
arguments: ['bzr', 'svn-import', 'sk3', 'sk3v']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  bookmarks            C:\Program Files\Bazaar\plugins\bookmarks [unknown]
  bzrtools             C:\Program Files\Bazaar\plugins\bzrtools [1.7.0]
  launchpad            C:\Program Files\Bazaar\plugins\launchpad [unknown]
  qbzr                 C:\Program Files\Bazaar\plugins\qbzr [0.9.4]
  svn                  C:\Program Files\Bazaar\plugins\svn [0.4.13]
*** Bazaar has encountered an internal error.

On Wed, Oct 01, 2008 at 10:47:26AM -0400, Doug Lee wrote:
These apply to bzr 1.7 as installed on Windows XP from the Windows
installer accessed from bazaar-vcs.org.  I ran all commands from
within a cmd.exe shell.

1.  During a sequence of reverts (binary search looking for revision
causing a bug), I got an error about remaining files, and in
.bzr/checkout, I had to manually delete limbo and pending-deletes (I
think that's the right name) once.  Nothing else had sandbox files
open to my knowledge.

2.  Several attempts to bzr svn-import from a local svn branch failed,
but the traceback scrolled partly off screen because of its length,
and since it's sent to STDERR and cmd doesn't allow redirection of
that, I didn't get a screen shot of it all.

3.  `bzr shell' aborts failing to find readline, though it worked in
1.5 when I installed bzrtools there.

Are any of these known?  The first startled me because I'd never
seen bzr do that before.  The second regards a new release feature of
bzr though, so it didn't startle me so much.  I bet the third is
specific to the Windows file set.

I'll file bugs if I see these again, but yesterday they happened
during a work project and I didn't get a chance to capture much info.


-- 
Doug Lee                 dgl at dlee.org        
SSB BART Group           doug.lee at ssbbartgroup.com   http://www.ssbbartgroup.com
"No person is your friend who demands your silence or denies your
right to grow." --unknown source

-- 
Doug Lee                 dgl at dlee.org        
SSB BART Group           doug.lee at ssbbartgroup.com   http://www.ssbbartgroup.com
"When there is no enemy within, the enemies outside cannot hurt you."
--African Proverb



More information about the bazaar mailing list