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

Re: Can't get log messages for a folder in a working copy that is deleted in the head

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-09-27 17:56:37 CEST

Jonathan Ashley wrote:

> I'm working in a stable-trunk development environment where all
> changes are made on a branch that is deleted after it is merged back
> to the trunk.
>
> Sometimes I need to look at what went on in a branch while it was
> still active, so I update my working copy of the branches folder to
> an earlier revision.
>
> I notice that if I am in a working copy that is at an earlier
> revision and try and view the log of a folder that no longer exists
> in the repository head, by right-clicking the folder in the working
> copy and selecting "SVN Show log", Tortoise gives me an error message
> similar to "REPORT request failed on
> '/svn/imp/!svn/bc/5781/mods/parser/M286'
> '/svn/imp/!svn/bc/5781/mods/parser/M286' path not found".
>
> In that example, I'd updated the working copy to revision 5754; the
> deletion happened in 5755 and the latest previous commit affecting
> that branch had been in 5752.

The problem here is that Subversion (more precise: the svn_client_log3()
API) chokes on WC and BASE peg revisions. If it would handle those peg
revisions correctly, you could see the log.

> The command-line client gives me the log I expect, as does asking for
> the log from the Repo-browser at that revision.

Yes, but we do it differently than the CL client for a reason. Imagine
you're working on your project. The last time you've updated was at
revision 100. In the meantime, others have committed changes to the same
folder, and the repository is now at revision 120. You want to see the
log for the folder you're working on.
with the CL client, you will only see the log from revision 100
backwards - you won't even notice that others have already committed
stuff because the log won't show you this.
with TSVN however, you *will* see the log messages of the others who
committed to your folder.

That difference is also part of the problem here. But once Subversion
supports WC and BASE as peg revisions for svn_client_log3() the problem
will be solved.

In the meantime, start the log from the repository browser set to the
revision where the folder still existed.

Stefan

-- 
        ___
   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 Wed Sep 27 17:56:44 2006

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