Re: The direction linux is taking

Larry McVoy (lm@bitmover.com)
Sat, 29 Dec 2001 09:27:29 -0800


On Sat, Dec 29, 2001 at 11:14:18AM -0600, Oliver Xymoron wrote:
> Other useful tools are things like CVS blame:
>
> http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/Makefile.in
>
> (not sure how this would be done with single user check-in, but there's
> probably a way to hack it in)

We love the "blame" (aka annotate) feature and took it to a new level.
As an old coworker once said of SCM: "You can run, but you can't hide" :-)

We give you every possible variation of annotate in BK. You can see the
annotated listing of any version of a file, and you construct arbitrary
versions of files. The most useful one [1] is "show me the annotated
listing of all lines that have ever been in any version of this file".

You can also grep for stuff in the revision history. From the man page [2]:

To see if <pattern> occurs anywhere in any version of any
file of your tree:

$ bk -r grep -R pattern

To see if it occurs anywhere in the most recent version of
of any file of your tree:

$ bk -r grep pattern

To see if it was added by the most recent delta made in of
any file of your tree:

$ bk -r grep -R+ pattern

[1] http://www.bitkeeper.com/manpages/bk-annotate-1.html
[2] http://www.bitkeeper.com/manpages/bk-grep-1.html

-- 
---
Larry McVoy            	 lm at bitmover.com           http://www.bitmover.com/lm 
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/