[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Blame feature requests: view path name; deleted lines

From: Craig McQueen <craig.mcqueen_at_beamcommunications.com>
Date: Mon, 27 Jun 2011 22:53:45 -0700

> -----Original Message-----
> From: Stefan Küng [mailto:tortoisesvn_at_gmail.com]
> Sent: Monday, 27 June 2011 5:06 PM
> To: users_at_tortoisesvn.tigris.org
> Subject: Re: Blame feature requests: view path name; deleted lines
>
> On Mon, Jun 27, 2011 at 05:01, Craig McQueen
> <craig.mcqueen_at_beamcommunications.com> wrote:
> > Hello,
> >
> >
> >
> > Blame is a fantastic tool, very useful. I have two feature requests
> that I
> > would find useful, for what it’s worth:
> >
> >
> >
> > 1) Be able to view the filename/SVN path name of the file. I have
> projects
> > with files of the same name, which I sometimes compare. If I am not
> paying
> > attention, I forget which project a window belongs to, and Blame
> doesn’t
> > provide a way to find out. It would be good to be able to see the
> full path
> > in the title bar, status bar, menu item, somewhere.
>
> On trunk, TBlame shows the path in the window title.
>
> > 2) Be able to view a “blame” of when lines have been deleted. Blame
> can show
> > when a line has been added or modified, but not deleted. It would be
> great
> > to optionally show deleted lines, with strike-out or some other
> visual
> > indication, and with a gap in the line numbering.
>
> Deleted since when?
> Imagine a file like this
>
> abcde
> fghijkl
> mnopq
>
> over the lifetime of the file, it gets changed to
>
> qponm
> lkjihgf
> edcba
>
> and then changed again and again and again and ...

On further thought, maybe I understand your points. Perhaps I misunderstood you before. Is a, b, c etc meant to represent lines or characters? If lines, then I understand you're representing a file with fairly complex changes.
 
> So which lines are deleted and should be shown? What about a line that
> got deleted and re-added several times?

I would propose showing every deletion (in the selected revision range) as a separate deletion. This is quite possible to do technically, but I agree the resulting output might become less useful for complicated change histories. This could be mitigated by:
* TBlame allows you to select a range of revisions.
* This feature should be optional, disabled by default, and enabled by e.g. a checkbox.

In my case, I would find it quite useful for some of my files, which I had in mind when I requested this feature. E.g. "I know I deleted 3 lines in this function in the last 3 months. What revision was that in?"

Regards,
Craig McQueen

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2779443

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-06-28 07:54:09 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.