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

cat works with fully qualified URLs but not with relative paths

From: Fraser Campbell <fraser_at_wehave.net>
Date: 2003-07-22 05:36:26 CEST

Hi,

I'm not sure if this is a bug or just something I'm doing wrong. I have
created a subversion repository that I am accessing via apache. The
repository root (?) is accessible at http://myserver/svn/

I checked out a copy of a subdirectory only with this command:

    svn checkout http://myserver/svn/subdir/

I have proceeded to check in a fair number of items into this subdirectory
(700+ files, about 50 MB). I deleted a few files to get a feel for how
things work, I was able to use these commands from within my working copy:

    svn delete testfile
    svn commit -m "Test delete"

That worked fine. Now here is where I'm getting puzzled. Trying to recover
the file with cat:

    svn cat --revision 11 test

Subversion gives these error messages:

    svn: Entry has no url
    svn: 'test' has no URL

The command was issued within the appropriate directory of my working copy.

This command works:

    svn cat --revision 11 http://myserver/svn/subdir/test

Since relative paths are accepted by svn when doing an add or delete I would
also expect them to be accepted when doing a cat. Is this a bug, a missing
feature?

I'm using subversion 0.25 on the server side and svn 0.24.2 on the client,
could this be an issue?

Thanks!

-- 
Fraser Campbell <fraser_at_wehave.net>                 http://www.wehave.net/
Halton Hills, Ontario, Canada                             Debian GNU/Linux
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 22 06:16:39 2003

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.