On 7/11/09 6:56 PM, "David Brownell" <[email protected]> wrote:
> On Saturday 11 July 2009, Xiaofan Chen wrote:
>> I do not know anything about svn-bisect. But I just used Google for
>> 5 minutes to locate the svn commit for the above lines.
>
> Not relevant to $SUBJECT ... but to "what changed that file",
> and Gary's question about easier ways to track such stuff.
>
>
> If you use git-svn this is a *LOT* easier, and can be done on
> your laptop even without net access for Google or SVN.
>
> "git whatchanged src/jtag/jlink.c" ... to show the commits
> which touched that file.
>
> To see the changes: "git whatchanged -p src/jtag/jlink.c"
>
> Plus, this lets you use "git bisect". After just one attempt
> to use svn-bisect, I gave up on it as deeply broken. Whereas
> "git bisect" is quite trustworthy, especially with simple
> linear development sequences as found in SVN.
>
> - Dave
>
> p.s. Gary, if the board only has SRST, "reset_config srst_only"
> would be a good idea.
I have to admit, you can learn something new everyday! I never realized
that git and svn repositories were compatible enough to do what you describe
above. Personally I like git and think it is the better versioning tool
because of its capabilities. I will have to give your idea a try.
As for the reset tip, I actually implemented that one a few days earlier,
but thanks for mentioning it anyway!
Gary
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development