Dhskjlkakdh
Dhskjlkakdh

Reputation: 12721

Can one force svn diff to show svn cp'd files?

Here is a command sequence showing distinct svn diff behaviours for adding versus 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 head off irrelevant answers:

I am only wondering if I can override some default to force svn diff to output foo.svn-cp in the same manner it outputs foo.cp-add.

Upvotes: 4

Views: 774

Answers (1)

Michael Hackner
Michael Hackner

Reputation: 8645

No.

Unless you want to hack around with the source code; if you do, you’re a better man than I.

Upvotes: 4

Related Questions