Login | Register
My pages Projects Community openCollabNet

Discussions > users [DISABLED] > Re: reverse blame to find deleted lines?

subversion
Discussion topic

Hide all messages in topic

All messages in topic

Re: reverse blame to find deleted lines?

Author B Smith-Mannschott <bsmith dot occs at gmail dot com>
Full name B Smith-Mannschott <bsmith dot occs at gmail dot com>
Date 2008-12-01 00:50:29 PST
Message On Mon, Dec 1, 2008 at 5:41 AM, Mark Eichin <eichin at gmail dot com> wrote:

> http://nedbatchelder​.com/code/utilities/​blameall_py.html
>
> is the tool I was talking about (didn't have a chance to dig it up
> from my phone when I first responded.)
>
>
Aha! That answers my question from March 17th. That's the script I had seen,
as looking for, and couldn't find anymore. ;-)

// Ben Smith-Mannschott
Attachments

Re: reverse blame to find deleted lines?

Author eichin
Full name Mark Eichin
Date 2008-11-30 20:41:09 PST
Message http://nedbatchelder​.com/code/utilities/​blameall_py.html

is the tool I was talking about (didn't have a chance to dig it up
from my phone when I first responded.)

On Fri, Nov 28, 2008 at 11:20 AM, Mark Eichin <eichin at gmail dot com> wrote:
> Blameall.py should get you the "lifespan" of all lines that ever existed,
> which is more than you're asking for; I don't have a link handy, but Ned
> Batchelder wrote it, should be enough to find it...
>
> On Nov 28, 2008 9:51 AM, "Kloster Oddvar" <Oddvar.Kloster@s​intef.no> wrote:
>
>> I know you can use the blame function to detect in what revision a
>> particular line of code has been added or changed.
>>
>> But is there a way to detect in what revision lines have been _removed_?
>> I tried a reverse blame like
>> svn blame -r 200:100 myfile.c
>> to see deleted lines, but svn does not allow that:
>> svn: Start revision must precede end revision
>>
>> Any suggestions?
>>
>> Norbert
>>
>
> I found the above message from 2005 when searching for this. I too find from
> time to time that I'd like to discover when a line next was changed or
> deleted *after* a certain revision. Does svn now have any support for this,
> or are there plans for implenting reverse blame?
>
>
> Oddvar Kloster
>
>



--
_Mark_ <eichin at thok dot org> <eichin at gmail dot com>

Re: reverse blame to find deleted lines?

Author eichin
Full name Mark Eichin
Date 2008-11-28 08:20:13 PST
Message Blameall.py should get you the "lifespan" of all lines that ever existed,
which is more than you're asking for; I don't have a link handy, but Ned
Batchelder wrote it, should be enough to find it...

On Nov 28, 2008 9:51 AM, "Kloster Oddvar" <Oddvar.Kloster@s​intef.no> wrote:

 > I know you can use the blame function to detect in what revision a
> particular line of code has been added or changed.
>
> But is there a way to detect in what revision lines have been _removed_?
> I tried a reverse blame like
> svn blame -r 200:100 myfile.c
> to see deleted lines, but svn does not allow that:
> svn: Start revision must precede end revision
>
> Any suggestions?
>
> Norbert
>
 
I found the above message from 2005 when searching for this. I too find from
time to time that I'd like to discover when a line next was changed or
deleted *after* a certain revision. Does svn now have any support for this,
or are there plans for implenting reverse blame?
 
 
Oddvar Kloster
Attachments

Re: reverse blame to find deleted lines?

Author Kloster Oddvar <Oddvar dot Kloster at sintef dot no>
Full name Kloster Oddvar <Oddvar dot Kloster at sintef dot no>
Date 2008-11-28 04:20:53 PST
Message > I know you can use the blame function to detect in what revision a
> particular line of code has been added or changed.
>
> But is there a way to detect in what revision lines have been
_removed_?
> I tried a reverse blame like
> svn blame -r 200:100 myfile.c
> to see deleted lines, but svn does not allow that:
> svn: Start revision must precede end revision
>
> Any suggestions?
>
> Norbert
>
 
I found the above message from 2005 when searching for this. I too find
from time to time that I'd like to discover when a line next was changed
or deleted *after* a certain revision. Does svn now have any support for
this, or are there plans for implenting reverse blame?
 
 
Oddvar Kloster
Attachments
Messages per page: