Removed file "is not versioned"
Wouter van Heyst
larstiq at larstiq.dyndns.org
Sun May 15 20:05:48 UTC 2011
On Sun, May 15, 2011 at 05:33:31 -0400, Eli Zaretskii wrote:
...
> D:\usr\eli\bzr\emacs\trunk>bzr st -c79953
> removed:
> lispref/text.texi
>
> D:\usr\eli\bzr\emacs\trunk>bzr st -c80026
> added:
> doc/lispref/text.texi
>
> So far so good, but it sounds like the information about the removed
> file is somehow incomplete:
>
> . "bzr file-id" and "bzr annotate" think that the file is not
> versioned:
>
> bzr: ERROR: lispref/text.texi is not versioned.
>
> . OTOH, "bzr cat -r79952 lispref/text.texi" shows the file as it was
> before the move.
>
> . On the third hand, "bzr diff -c79953 lisp/text.texi" complains:
>
> bzr: ERROR: Path(s) are not versioned: lisp/text.texi
>
> . But if I invoke "bzr diff -c79953" without the file name, I'm
> presented with the diff of removal of the entire file.
>
> What is the reason for this inconsistency? And how can bzr display a
> diff and the entire contents and at the same time claim that the file
> is not versioned?
This sounds to me like annotate/file-id try to look up lispref/text.texi
by path in a revision where it no longer exists:
bzr annotate -r before:79952 lispref/text.texi
however should work.
It might make sense to have, at revision 79953, to have annotate see if
lispref/text.texi got removed in the delta to 79953 and if so look it up
in the parent.
Would this help you?
HTH,
Wouter van Heyst
More information about the bazaar
mailing list