On Wed, Apr 29, 2015 at 4:01 PM, Daniel Shahaf <d...@daniel.shahaf.name> wrote:
> 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 > This is specific to the rename operation (svn 1.8.9, win7): c:\Project_files\sandbox>svn pl -v BBBB.txt Properties on 'BBBB.txt': myprop:trace_to req12345 c:\Project_files\sandbox>svn rename BBBB.txt TTTT.txt A TTTT.txt D BBBB.txt c:\Project_files\sandbox>svn pl -v TTTT.txt c:\Project_files\sandbox>