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

Re: [Issue 4119] New - can't cat an added symlink

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 17 Feb 2012 09:56:38 +0000

Daniel Shahaf <d.s_at_daniel.shahaf.name> writes:

> danielsh_at_tigris.org wrote on Thu, Feb 16, 2012 at 17:00:07 -0800:
>> ------- Additional comments from danielsh_at_tigris.org Thu Feb 16 17:00:07 -0800 2012 -------
>> % ln -s foo bar
>> % $svn add -q bar
>> % $svn cat bar
>> svn: E200009: '/home/daniel/src/svn/t1/bar' has no base revision until it is committed
>> zsh: exit 1 $SVN cat bar
>>
>> By comparison,
>> % $svn cat ../site/publish/faq.en.html
>> link faq.html<no newline>
>> %
>>
>> ------- Additional comments from danielsh_at_tigris.org Thu Feb 16 17:12:43 -0800 2012 -------
>> It applies to any file, not just to symlinks.
>
> Sanity check please -- we do expect 'touch foo; svn add foo; svn cat
> foo' to work, right?

1.7 is much like 1.6:

svn: E200009: '/home/pm/sw/subversion/obj/wc/f' has no base revision until it is committed

svn: Can't open file 'wc/.svn/text-base/f.svn-base': No such file or directory

Note that 'svn ls' has the same behaviour.

I suppose we could make them work. Perhaps it should involve a new
symbolic revision 'WORKING@?

   $ svn cat file_at_WORKING
   $ svn ls dir -rWORKING

How many other commands would be affected?

-- 
uberSVN: Apache Subversion Made Easy
http://www.uberSVN.com
Received on 2012-02-17 10:57:15 CET

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

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