1

Is it possible to diff a local directory (not a svn checkout) and a remote svn repository without checking out the repository to another local directory beforehand?

I need it for linux (debian) but the question is in general.

Bojan Hrnkas
  • 143
  • 11

1 Answers1

2

No. svn diff can not use irrelevant paths or URLs as parameters, they have to be part of repository or Working Copy.

But you can get empty WC from the same root as root of your directory tree, add tree from inversioned path into this WC and compare (modified WC vs URL). Read about --depth and --set-depth options also

Lazy Badger
  • 3,137
  • 15
  • 13
  • Being able to compare files not in the repo or working copy would be a nice enhancement to Subversion. Yes, I know there is diff and fc; neither of which will inherently read from an http reference. – lit Feb 26 '19 at 15:21