1 Mar 2010 02:01
broken bzr history?
Glenn Morris <rgm <at> gnu.org>
2010-03-01 01:01:29 GMT
2010-03-01 01:01:29 GMT
The following is from http://debbugs.gnu.org/5652#8 and onwards. It sounds potentially serious. Is it? Juri Linkov wrote: >>> I typed `C-x v g' (vc-annotate) in info.el, and it displays: >>> >>> 49780.1.32 henrik. | (forward-line (1- (nth 3 (car Info-index-alternatives)))) >> >> Looks like a bug in bzr. With git blame it points to f4ed1f85: >> >> commit f4ed1f852b3fb7650178446ac53db773d9fd25d6 >> Author: Juri Linkov <juri <at> jurta.org> >> Date: Tue Apr 27 06:39:46 2004 +0000 > > Yes, I can confirm this is the correct commit. In read-only CVS I see: > > revision 1.393 > date: 2004-04-27 09:39:46 +0300; author: jurta; state: Exp; lines: +80 -42; > [...] > (Info-index-next): Decrement line number.
> - "bzr add" prints the list of files it actually added, so if it adds
> some files you didn't expect, you have a fair chance of noticing it
> after the fact.
> - the effect of an overzealous "bzr add" can be cancelled without harm
> any time until the next "commit".
> - it's usually recommended to use "<backend> diff" before a "<backend> commit"
> so as to make sure you don't commit something by mistake, and that
> would give one last chance to catch a "bzr add" that added more
> than expected.
All that said, it seems far better to just do what git does, and require
one to type "... add ." instead. Mistakes are still possible (and thus
your points remain), but much more difficult in practice.
-Miles
RSS Feed