[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: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Thu, 8 Nov 2012 19:13:30 +0200

Peter Samuelson wrote on Thu, Nov 08, 2012 at 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
>

Did you mean:
      $ printf 'link 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

Given that "bar\n" does not start with "link ", I think this commit
should have succeeded. (Just like the "printf 'link bar'" variant
succeeds on windows)

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