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

Re: bug in svn_wc_get_pristine_copy_path

From: Kevin Pilch-Bisson <kevin_at_pilch-bisson.net>
Date: 2003-02-02 13:09:15 CET

On Sun, Feb 02, 2003 at 01:04:55PM +0100, SteveKing wrote:
> Hi,
> when I call svn_wc_get_pristine_copy_path with a filepath of
> "f:\test\foo.txt"
> the returned path for the pristine copy is
> ".svn/text-base/F:\Test\foo.txt.svn-base"

That's because it's meant to operate on basename(file).

Perhaps we should add the basename call into svn_wc_get_pristine_copy_path to
make it more robust.
> but that's not a valid path and so useless for a client who
> uses that function for diffs. (or at least wants to use it
> for that)
> Stefan

Kevin Pilch-Bisson                    http://www.pilch-bisson.net
     "Historically speaking, the presences of wheels in Unix
     has never precluded their reinvention." - Larry Wall

  • application/pgp-signature attachment: stored
Received on Sun Feb 2 20:12:01 2003

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.