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

error on "svn diff" on uncommitted links to directories

From: Markus Braun <Markus.Braun_at_krawel.de>
Date: 2004-09-16 16:48:20 CEST


I've been playing around with the versioning of symbolic links in subversion
1.1.0RC2, but I experienced a problem. The command "svn diff" aborts if
there is a added but uncommitted link to a directory in the working copy.
Here is a typescript of a sample session:

    mbr:/tmp$ svnadmin create test
    mbr:/tmp$ svn co file://$PWD/test wc
    Checked out revision 0.
    mbr:/tmp$ cd wc
    mbr:/tmp/wc$ svn mkdir a
    A a
    mbr:/tmp/wc$ ln -s a b
    mbr:/tmp/wc$ svn add b
    A b
    mbr:/tmp/wc$ svn status
    A a
    A b
    mbr:/tmp/wc$ svn diff
    svn: Can't read file 'b': Is a directory

Is this normal behaviour? I used the following svn version:

    mbr:/tmp/wc$ svn --version
    svn, version 1.1.0 (Release Candidate 2)
       compiled Sep 12 2004, 08:52:03

    Copyright (C) 2000-2004 CollabNet.
    Subversion is open source software, see http://subversion.tigris.org/
    This product includes software developed by CollabNet (http://www.Collab.Net/).

    The following repository access (RA) modules are available:

    * ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
      - handles 'http' schema
      - handles 'https' schema
    * ra_local : Module for accessing a repository on local disk.
      - handles 'file' schema
    * ra_svn : Module for accessing a repository using the svn network protocol.
      - handles 'svn' schema

Markus Braun

Any errors in spelling, tact or fact are transmission errors

Received on Thu Sep 16 16:48:46 2004

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