bzr diff fails with bzrlib.errors.NoSuchRevision
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
I've just tried bzr 1.13.1 and here's my experience. After I did
the first commit I can no longer show the log. Some background:
I have checked out from subversion:
C:\Users\
info
Repository checkout (format: unnamed)
Location:
repository checkout root: .
checkout of branch:
svn+https:/
009_01
shared repository:
C:/Users/
Related branches:
submit branch:
https:/
009_01
Here's what I then did:
C:\Users\
ci --local -m "- Do not write IrregularLine when creat
ing CoordGeom."
Committing to:
C:/Users/
modified Geo/Src/
Committed revision 112.
C:\Users\
qlog
C:\Users\
send --mail-to <email address hidden> svn+https:/
svn/projects/
The svn+ syntax is deprecated, use
https:/
01 instead.
bzr: ERROR: bzrlib.
KnitPackReposit
s-repo/.bzr/
repository/') has no revision
<email address hidden>
Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\diff.pyo", line 428, in show_diff_trees
File "bzrlib\diff.pyo", line 833, in show_diff
File "bzrlib\diff.pyo", line 893, in _show_diff
File "bzrlib\diff.pyo", line 916, in diff
File "bzrlib\diff.pyo", line 494, in _diff_many
File "bzrlib\diff.pyo", line 616, in diff
File "bzrlib\diff.pyo", line 440, in _patch_header_date
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
NoSuchRevision:
KnitPackReposit
s-repo/
ion <email address hidden>
bzr 1.13 on python 2.5.2 (win32)
arguments: ['bzr', 'send', '--mail-to', '<email address hidden>',
'svn+https:/
ilus_2009_01']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
bzrtools C:\Program Files\Bazaar\
launchpad C:\Program Files\Bazaar\
netrc_
Files\Bazaar\
qbzr C:\Program Files\Bazaar\
svn C:\Program Files\Bazaar\
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
Ooops, something is wrong at this stage. I try again, this time without the
path:
C:\Users\
send --mail-to <email address hidden>
Using saved submit location
"https:/
2009_01" to determine what
changes to submit.
bzr: ERROR: Invalid http response for
https:/
009_01/.bzr/bran
ch-format: Unable to handle http code 401: Authorization Required
Moving on:
C:\Users\
up
The svn+ syntax is deprecated, use
https:/
01 instead.
M Geo/Src/
All changes applied successfully.
M Geo/Src/
All changes applied successfully.
Updated to revision 111.
Your local commits will now show as pending merges with 'bzr status', and
can be committed with 'bzr commit'.
C:\Users\
st
modified:
Geo/Src/
pending merge tips: (use -v to see all merge revisions)
Daniel Lidström 2009-03-31 - Do not write IrregularLine when creating
CoordGeom.
C:\Users\
diff
=== modified file 'Geo/Src/
bzr: ERROR: bzrlib.
KnitPackReposit
s-repo/.bzr/
repository/') has no revision
<email address hidden>
Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\diff.pyo", line 428, in show_diff_trees
File "bzrlib\diff.pyo", line 833, in show_diff
File "bzrlib\diff.pyo", line 893, in _show_diff
File "bzrlib\diff.pyo", line 916, in diff
File "bzrlib\diff.pyo", line 494, in _diff_many
File "bzrlib\diff.pyo", line 616, in diff
File "bzrlib\diff.pyo", line 440, in _patch_header_date
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
NoSuchRevision:
KnitPackReposit
s-repo/
ion <email address hidden>
bzr 1.13 on python 2.5.2 (win32)
arguments: ['bzr', 'diff']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
bzrtools C:\Program Files\Bazaar\
launchpad C:\Program Files\Bazaar\
netrc_
Files\Bazaar\
qbzr C:\Program Files\Bazaar\
svn C:\Program Files\Bazaar\
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
C:\Users\
qlog
bzr: ERROR: bzrlib.
KnitPackReposit
s-repo/.bzr/
repository/') has no revision
<email address hidden>
Traceback (most recent call last):
File "C:/Program Files/Bazaar/
initial_load
File "C:/Program Files/Bazaar/
decorate
File "C:/Program Files/Bazaar/
load_diff
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
NoSuchRevision:
KnitPackReposit
s-repo/
ion <email address hidden>
bzr 1.13 on python 2.5.2 (win32)
arguments: ['bzr', 'qlog']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
bzrtools C:\Program Files\Bazaar\
launchpad C:\Program Files\Bazaar\
netrc_
Files\Bazaar\
qbzr C:\Program Files\Bazaar\
svn C:\Program Files\Bazaar\
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
C:\Users\
info
Repository checkout (format: unnamed)
Location:
repository checkout root: .
checkout of branch:
svn+https:/
009_01
shared repository:
C:/Users/
Related branches:
submit branch:
https:/
009_01
C:\Users\
log
... lots of text. nothing wrong with the output.
However, now I can do qlog again:
C:\Users\
qlog
No errors this time. Sorry for a very long mail, but to summarize my actions
(redundant output removed):
bzr ci --local -m "- Do not write IrregularLine when creating CoordGeom."
bzr qlog
bzr send --mail-to <email address hidden>
svn+https:/
009_01
bzr: ERROR: bzrlib.
KnitPackReposit
s-repo/
<email address hidden>
bzr up
bzr st
bzr diff
bzr: ERROR: bzrlib.
KnitPackReposit
s-repo/
<email address hidden>
bzr qlog
bzr: ERROR: bzrlib.
KnitPackReposit
s-repo/
<email address hidden>
bzr info
bzr log
bzr qlog
bzr diff
bzr: ERROR: bzrlib.
KnitPackReposit
s-repo/.bzr/
repository/') has no revision
<email address hidden>
So it seems bzr log corrected some problem and allowed me to do bzr qlog
again, but then bzr diff shows the error is still there.
I'm not sure if this has been filed before. I tried to search for this in
launch pad but I didn't find anything.
Regards,
Daniel Lidström,
Software Developer
SBG AB