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

Re: auto-props does not work on copied files

From: David Weintraub <qazwart_at_gmail.com>
Date: Wed, 29 Dec 2010 14:50:30 -0500

On Wed, Dec 29, 2010 at 12:01 PM, Leszek Porębski
<leszek.porebski_at_comarch.pl> wrote:
> Hi!
> I have the Revision auto-property set on files. It works pretty fine until
> you copy a file (etc. by branching it's project). After this adding $Rev$ to
> its content has no effect.

Did the original file have that property on it? When you make a branch
via "svn cp", all properties attached to the file are copied over to
the branch too. If the original file didn't have the property on it,
the version on the branch won't either.

Autoproperties are only added with a "svn add" or a "svn import", so
it won't automatically add properties when you branch.

David Weintraub
Received on 2010-12-29 20:51:19 CET

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

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