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

Re: Merge tracking and Blame

From: Simon Large <simon.tortoisesvn_at_googlemail.com>
Date: 2007-09-22 01:06:33 CEST

On 21/09/2007, Stefan Küng <tortoisesvn@gmail.com> wrote:
> Simon Large wrote:
> > On 21/09/2007, Stefan Küng <tortoisesvn@gmail.com> wrote:
> >> On 9/20/07, Simon Large <simon.tortoisesvn@googlemail.com> wrote:
> >>
> >>>> It already works, as long as the server knows about merge tracking. If
> >>>> the server doesn't know merge tracking yet (< 1.5 versions), the blame
> >>>> works as before.
> >>>> There's also a new menu entry in TortoiseBlame...
> >>> What I'm getting at is that the CLI gives you an option (-g) for
> >>> displaying the original author, but you can choose to display the
> >>> merge author (old default behaviour). Also, the CLI indicates the
> >> Why would you want to ever see the author who merged certain lines in
> >> a blame? There's no reason to add an option for this in TSVN (btw:
> >> subclipse has it enabled all the time too).
> >>
> >>> merged lines with a G when displaying original authors. Merged paths
> >>> also shows where the merged lines are if you read carefully, but it
> >>> takes a lot of space. Maybe put the line number in italics for merged
> >>> lines, or change the background colour for the line number or
> >>> something as a simple merge indicator?
> >> As I said, there's a new menu entry in TortoiseBlame. Check it out and
> >> you'll see.
> >
> > I just installed last night's nightly and I can't see anything new
> > apart from showing merged paths, which I already mentioned. You can
> > use that to find out which lines got there because of a merge, but it
> > takes a lot of screen space (1% german screen width, 20% english
> > screen width). I was just looking for a very compact indicator that
> > 'merges took place on this line'. Actually, to be honest I'm only
> > saying this because the CLI does it. I don't know whether it is really
> > useful.
>
> You mean we should add another indicator (one that doesn't use too much
> space) for lines which got merged? I guess we could do that.
> But I don't know what you mean by "because the CLI does it". As far as I
> can see, the CLI doesn't show any indication whether a line got merged
> or not. It only shows the path (as TBlame does now) when you pass -v to
> the blame command:
> http://subversion.tigris.org/merge-tracking/func-spec.html

svn blame -g mergetracking\index.html

[snipped some headers and footers to save space]
       1 user <p>List of children:</p>
       1 user <ul>
       1 user <li>index.html</li>
       1 user <li>about/index.html</li>
       1 user <li>jobs/index.html</li>
       1 user <li>news/index.html</li>
       1 user <li>products/index.html</li>
       1 user <li>products/big.html</li>
G 4 auser <li>products/medium.html</li>
       1 user <li>products/little.html</li>
G 11 auser <li>products/roadmap.html</li>
       1 user <li>support/index.html</li>
       1 user </ul>
       1 user
       1 user <p>Copyright 2007, CollabNet</p>

Unless I'm missing something, that 'G' indicates a merged line. It's
not in func-spec.html, but it is in the trunk client I downloaded a
few days ago.

I'm not looking for anything that involves a change to the layout. As
I said, just changing the background of the line number would be
enough.

Simon

-- 
       ___
  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sat Sep 22 01:06:46 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.