You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by "Malte S. Stretz" <ms...@gmx.net> on 2004/01/24 20:43:54 UTC

Subversion: Where's the Attic?

Hi folks, especially Sander :)

I've been trying for the last 30 minutes to get the log for a file which was 
once removed (ie. moved to the Attic in CVS terms). It's the file 
fixpath.pl (in the "root"); I tried various things like
  svn log fixpath.pl -r 3417
(that's the revision when it was removed), but no success. Any ideas?

Cheers,
Malte

-- 
[SGT] Simon G. Tatham: "How to Report Bugs Effectively"
      <http://www.chiark.greenend.org.uk/~sgtatham/bugs.html>
[ESR] Eric S. Raymond: "How To Ask Questions The Smart Way"
      <http://www.catb.org/~esr/faqs/smart-questions.html>

Re: Subversion: Where's the Attic?

Posted by "Malte S. Stretz" <ms...@gmx.net>.
On Sunday 25 January 2004 01:43 CET Sander Striker wrote:
> On Sat, 2004-01-24 at 20:43, Malte S. Stretz wrote:
> > It's the file fixpath.pl (in the "root"); I tried various things like
> >   svn log fixpath.pl -r 3417
> > (that's the revision when it was removed), but no success. Any ideas?
>
> Very simple:
>
> $ svn log -r 3416:0
> http://svn.apache.org/repos/asf/incubator/spamassassin/trunk/fixpath.pl
>
> IOW, choose a revision where the file still existed.  [...]

Ah. I thought I tried something like the above but probably with the wrong 
parameters. This should probably be noted in the svnbook under 'svn delete' 
and in the CVS->SVN appendix.

Cheers,
Malte


-- 
[SGT] Simon G. Tatham: "How to Report Bugs Effectively"
      <http://www.chiark.greenend.org.uk/~sgtatham/bugs.html>
[ESR] Eric S. Raymond: "How To Ask Questions The Smart Way"
      <http://www.catb.org/~esr/faqs/smart-questions.html>

Re: Subversion: Where's the Attic?

Posted by Sander Striker <st...@apache.org>.
On Sat, 2004-01-24 at 20:43, Malte S. Stretz wrote:
> Hi folks, especially Sander :)
> 
> I've been trying for the last 30 minutes to get the log for a file which was 
> once removed (ie. moved to the Attic in CVS terms).

There is no attic.

>  It's the file 
> fixpath.pl (in the "root"); I tried various things like
>   svn log fixpath.pl -r 3417
> (that's the revision when it was removed), but no success. Any ideas?

Very simple:

$ svn log -r 3416:0
http://svn.apache.org/repos/asf/incubator/spamassassin/trunk/fixpath.pl


IOW, choose a revision where the file still existed.  You should be able
to find the rev a file existed in by doing a grep for it in the
output of svn log -r http://.../trunk.  If the line starts with:
A -> the file was added there,
D -> it was deleted
M -> it was modified

Sander