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

Re: Svn rename doesn't copy custom properties

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Wed, 29 Apr 2015 23:01:30 +0000

Dan Ellis wrote on Wed, Apr 29, 2015 at 15:43:00 -0700:
> Hi,
>
> We use some custom properties for tracking (e.g. my_prop:trace_to
> req_12345) and have noticed that svn renames do not copy these across the
> delete/add operation. I've tried searching the archives to see if I could
> find a rationale as to why, but haven't come across any.
>

'svn cp' and 'svn mv' do copy properties across. How exactly are you
invoking those operations? Are you perhaps using a wrapper that does
'svn rm && svn add'? Can you show us a transcript?

On my system I see it working:

[[[
% svn pl -v baz
Properties on 'baz':
  k
    v
% svn mv baz foo
A foo
D baz
% svn ci -q -mm
% svn pl -v foo
Properties on 'foo':
  k
    v
]]]

> I'm guessing this could be legitimately viewed as a feature or a problem,
> depending on your point of view.
>
> Is there a viable option to try and get svn renames to copy these over?
>

Including properties in mv/cp is the default behaviour and cannot be
turned off (except by doing 'svn propdel' after the cp/mv and before
committing).

What version of the client are you using?

> Thanks,
> Dan
Received on 2015-04-30 01:04:09 CEST

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.