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

Re: svn commit: r1406870 - in /subversion/trunk/subversion: libsvn_wc/update_editor.c libsvn_wc/wc_db_wcroot.c tests/cmdline/special_tests.py

From: Peter Samuelson <peter_at_p12n.org>
Date: Thu, 8 Nov 2012 11:01:37 -0600

[Daniel Shahaf]
> it's what allows Windows users to create versioned symlinks:
>
> printf "link bar" > foo && svn add foo && svn ps svn:special yes foo && svn ci
>
> If we don't like changing the specialness of a local addition, we could
> deprecate (or break) that behaviour and have people run
> 'svn add --with-revprop svn:special=yes foo' instead.

(Where we understand you didn't actually mean 'revprop'.)
We have that option already ... unfortunately it doesn't actually work:

    $ echo bar > foo

    $ svn add --config-option config:miscellany:enable-auto-props=yes \
              --config-option config:auto-props:foo=svn:special=1 foo
    A foo

    $ ls -l foo
    -rw-r--r-- 1 peters peters 4 Nov 8 10:57 foo

    $ svn ci -mm
    svn: E145001: Commit failed (details follow):
    svn: E145001: Entry '/tmp/foowc/foo' has unexpectedly changed special status

Peter
Received on 2012-11-08 18:02:18 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.