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

Re: cat works with fully qualified URLs but not with relative paths

From: <kfogel_at_collab.net>
Date: 2003-07-22 18:17:50 CEST

Fraser Campbell <fraser@wehave.net> writes:
> 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?

Your semi-transcript showed you deleting "testfile" not "test". I
assume this was just a typo?

I'm pretty sure this is a known & filed issue, but I couldn't find it
in the database. It would affect more than just 'svn cat', since it's
the general problem of referring to an object not present in the
working copy, and many commands might do that.

I think Ben might know off the top of his head which issue this is;
I'll ask him when he comes back from the store.

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jul 22 19:12:14 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.