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

svn_client_blame3() and svn_opt_revision_working

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-05-06 10:47:14 CEST

Hi,

I'm trying to blame a file in the working copy which has local
modifications. So I'm calling svn_client_blame3() like this:

svn_client_blame3("path\to\local\file",
                    revision-wc,
                    1, revision-wc,
                    options,
                    ignoremimetype,
                    callback, (void*)this,
                    &ctx, pool);

with 'revision-wc' being an svn_opt_revision_t struct set to
svn_opt_revision_working.

I'd expect the blame result to contain the locally modified lines
(either with an empty author or maybe '(local)'), but actually it
ignores the local modifications completely. It's as if it blames not
against the working copy but the working BASE.

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.

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 10:47:41 2006

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