On Thu, 10 Feb 2005, Daniel Berlin wrote:
> Can someone take a look at
> http://gcc.gnu.org/ml/gcc/2005-02/msg00404.html
>
> and tell me what the user is doing wrong?
>
> They are trying to get the log of a file deleted in the current
> revision.
> Apparently, simply svn log file@revision-it-exists
> doesn't work
>
>
>
The peg notation doesn't work for log. log ues file as it was in the
larger of the two revision numbers. I didn't find a way to get the log for
a file and backwards, including the revision it was deleted.
svn log -rD-1:1 URL
(where D is the revision in which the file was deleted)
works and
svn log -rD REPO_URL
will give you the last log:-)
or just
svn log -rD
if you are in the parent.
The tricky thing here is that to look up something in a revision, it has
to exist in that revision. And, ofcourse, a deleted path doesn't.
As for having to download the whole log for the parent tree, ofcourse you
can restrict the log to the year when the fle was deleted or something,
but *you* know that already:-)
Hope this clarifies somewhat,
//Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 11 08:35:58 2005