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

Re: svn_client_blame3() and svn_opt_revision_working

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-05-06 16:19:48 CEST

Peter N. Lundblad wrote:

> > So I think this is either not intended and might be a bug, or the
> > documentation for svn_client_blame3() should mention that
> > svn_opt_revision_working blames against the BASE.
> >
>
> I'd say the latter. Does including the local mods give you anything?

Actually, yes. I'd like to blame a file in my working copy. Sometimes I
don't realize that I've already modified the file. When I look at the
result of the blame, I get the impression that the file isn't locally
modified because the blame doesn't show that.

> OTOH, implementing this extra step shouldn't be too hard I think, so if we want
> this is shouldn't be a problem. (The cmdline client would still default
> to BASE like for cat and ls.)

The CL client doesn't allow WC revs. Most commands don't. Or at least
the help text doesn't mention it, only BASE, PREV, COMMITTED, but not WC.

> Care to provide a patch for either of the above? :_)

I've tried to understand the blame code by stepping through it in the
debugger. But I couldn't find where it actually checks for BASE or WC.
So a patch from me is not very likely here. Sorry.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 6 16:20:18 2006

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

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