Is it possible to get svn diff to show svn cp'd files?

The following is a sequence of commands showing the different svn diff behavior for adding and copying files:

$ ls -A foo .svn $ svn cp foo foo.svn-cp A foo.svn-cp $ svn diff foo.svn-cp <nothing> $ cp foo foo.cp-add $ svn add foo.cp-add A foo.cp-add $ svn diff foo.cp-add <contents> 

Some notes to distract irrelevant answers:

  • I understand the difference between these two svn actions
  • I know that if I had to edit the copied prefix foo.svn-cp, the diff of this edit would be shown (vs the original foo)
  • I agree to the clear svn diff behavior

I'm just wondering if I can override some default values ​​to make svn diff output foo.svn-cp in the same way that foo.cp-add produces.

+4
source share
1 answer

Not.

If you do not want to crack the source code; if you do, you are a better person than me.

+4
source

All Articles