Wed, 21 Mar 2007

``unittest`` bitching: premature; lazyweb request


From reading Collin Winter's blog he's designing a new unittest module first, and then he's going to ask c.l.p and presumably python-dev about adding it to py3k. So it's not quite the fait accompli I thought it was, which reduces my complaints to mild grumbling.

And, dear lazyweb... is there a good way to find out when a particular line of code was introduced (or last touched) through subversion?

thanks, --titus

posted at: 11:03 | path: /mar-07 | 8 comments

Tags:


Comments:

Posted by Karl G at Wed Mar 21 11:42:07 2007:
svn blame:

http://svnbook.red-bean.com/en/1.0/re02.html

Posted by Robert Brewer at Wed Mar 21 11:45:01 2007:
You mean besides "svn blame"?

Posted by Carl Friedrich Bolz at Wed Mar 21 11:47:54 2007:
To find the person that last modified a file in subversion, use "svn blame".

Posted by Ian Bicking at Wed Mar 21 11:52:30 2007:
svn blame does what you want, I believe

Posted by Mark Mc Mahon at Wed Mar 21 11:54:11 2007:
How about

  svn blame /path/

to see the revision number that the line was last modified in (and user too).

Then
  svn log -r XXX -q /path/

to get some information on that revision.

I am not an svn expert - so maybe there are cleaner ways of getting the same information.

Mark

Posted by Titus Brown at Wed Mar 21 12:31:49 2007:
Ahh, thanks all.  I didn't realize that svn blame output that information.

tnx,
--titus

Posted by Luis Bruno at Wed Mar 21 12:46:58 2007:
This is the link in the RSS feed, according to Google: http://ivory.idyll.org/blog/2007/03/21/unittest-bitching

Please fix; thanks!

Posted by Titus Brown at Wed Mar 21 14:38:25 2007:
Luis, I don't understand.  There's nothing like that in the atom feed that I can see, and I don't name links like that.  Where do you find this?  "Google" is big ;).

--titus

Post a new comment:

Name:


E-mail:


URL:


Comment:


Note that comments must be manually approved; e-mail titus@idyll.org if your comment doesn't show up quickly.