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

Re: Bug: Renaming of symlinks create invalid commits

From: Øyvind A. Holm <sunny_at_sunbase.org>
Date: 2004-07-04 14:13:19 CEST

On 2004-07-04 08:00+0200 Øyvind A. Holm wrote:

> When committing a "svn mv old_symlink new_symlink", svn:specials is
> emptied, but the commit does not complete. This makes it impossible to
> check out the symlink with svn from trunk, it does not recognise the
> special file type as it is empty. svn cleanup, svn revert or svn
> update does not work, even if a fresh copy is checked out.

Some clarification after more testing:

It is not the svn:special _property_ that is cleared, only the contents
of the file (symlink) which has that property. This is the result of a
checkout of the r10131-repository on a machine running svn-1.0.5:

13:32:44 sunny_at_sunba:~/src/svn$ svn co svn+ssh://ba0614:/home/sunny/Svn/linktest
Password:
Password:
A linktest/trunk
A linktest/trunk/regular.txt
A linktest/trunk/newsymlink.txt
Checked out revision 4.
13:33:27 sunny@sunba:~/src/svn$ cd linktest/trunk/
13:33:30 sunny@sunba:~/src/svn/linktest/trunk$ l
totalt 16
drwxr-xr-x 3 sunny sunny 4096 2004-07-04 13:33 .
drwxr-xr-x 4 sunny sunny 4096 2004-07-04 13:33 ..
drwxr-xr-x 7 sunny sunny 4096 2004-07-04 13:33 .svn
-rw-r--r-- 1 sunny sunny 0 2004-07-04 06:02 newsymlink.txt
-rw-r--r-- 1 sunny sunny 23 2004-07-04 05:59 regular.txt
13:33:32 sunny@sunba:~/src/svn/linktest/trunk$ svn pl -v *
Properties on 'newsymlink.txt':
  svn:special : *
Properties on 'regular.txt':
  svn:mime-type : text/plain
  svn:keywords : Id Date
  svn:eol-style : native
13:33:36 sunny@sunba:~/src/svn/linktest/trunk$

svn-1.0.5 has no problems checking out the files, but as trunk-svn is
aware of the svn:special property and it's empty, it fails.

Сенсорно Ваш,
Øyvind A. Holm
---------------------
cat /dev/urandom >SCO

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Jul 4 14:14:00 2004

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.