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

Problem with --revision option on deleted files

From: Andrew Miller <ajmiller_at_psu.edu>
Date: 2007-05-01 00:27:47 CEST

I have a file, say "stuff.txt" that existed in my repository in
revision 10 that was subsequently deleted in revision 11.

If I run
svn cat file:///repository/stuff.txt --revision 10
or
svn cat file:///repository/stuff.txt -r 10
I get a message saying:
svn: File not found: revision 11, path 'stuff.txt'

on the other hand running
svn cat file:///repository/stuff.txt_at_10
works fine and prints the content of the file stuff.txt

Other svn subcommands, for example svn info or svn log exhibit the
same behavior.

Putting the command switches before the URL had no effect.

Running svn cat stuff.txt -r 10 on a working copy did cause the file
to be printed.

Seems like this is a bug in handling the --revision and -r options
for deleted files in the repository.

--Andrew

===================================================
Andrew J. Miller
Graduate Student
Department of Engineering Science & Mechanics
Pennsylvania State University
212 Earth and Engineering Sciences Building
University Park, PA 16802

office: 408 Earth and Engineering Sciences Building
office Phone: (814) 863-0495
mobile Phone: (610) 428-8017
email: <mailto:ajmiller@psu.edu>

web: <http://www.esm.psu.edu/~ajmiller/>
===================================================

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue May 1 00:28:02 2007

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.